Hi,

You can try the GLatLngBounds class
(ref. 
http://code.google.com/apis/maps/documentation/reference.html#GLatLngBounds)

By setting the GLatLngBounds, you can get an appropriate zoom level by
calling `getBoundsZoomLevel`
through the GMap2 instance.
(ref. 
http://code.google.com/apis/maps/documentation/reference.html#GMap2.getBoundsZoomLevel)


Cheers,
--
Eric Lin-Chieh Shangkuan (上官林傑)
http://ericsk.org/



On Fri, Dec 11, 2009 at 3:05 PM, jigs <[email protected]> wrote:
> Hello
>
> I want to set up zoom level as it sets on maps.google.com.
>
> On maps.google.com, when you search for Asia it zooms to asia and then
> if you search for India it shows India map and zooms to India country
> zoom level keep changes on the fly.  If you then write any state of
> India like gujarat it points gujarat with diffferent zoom level.
>
> Can anybody let me know how i can achieve this?
>
> --
>
> You received this message because you are subscribed to the Google Groups 
> "Google Maps API" group.
> 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-api?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
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-api?hl=en.


Reply via email to