I look on your source code but seems like you have fixed zoom level. What I am trying to find is If someone try to search country than zoomlevel should be accordingly so that the map of country can be seen And if someone is trying to search for street than zoom level should be in such order that street can be seen clearly. This can be seen in maps.google.com by entering "United States" and than again making search with "New york, United States"
My current page works fine http://rajanmaharjan.com.np/autozoom.php has no such error as mentioned. I tried in chrome and mozilla. Can you please spend some more time to guide me through. It would be of more helpful. Many Many thanks in advance Mr. Larry On Tuesday, June 19, 2012 11:23:06 AM UTC+5:45, [email protected] wrote: > > On Jun 18, 9:28 pm, Rajan Maharjan <[email protected]> wrote: > > Thank you soo much for the comment > > I would love to see the direct code working. In the example you send me > > there is just state. I want something like > > http://rajanmaharjan.com.np/autozoom.php > > I get a javascript error on that page (the codeLatLng function is not > defined). > > > where you can enter the address and would make different zoom level > > depending upon the address information you provide like google does > > Did you view the source of my example? The example fixes the input > string to the geocoder, but does what you want with the result. > > -- Larry > > > > > > Once again thanks a lot > > > > Regards > > Rajan Maharjan -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/ayiDXOU9M80J. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
