[Google Maps API v3] getMaxZoomAtLatLng in v3 ?

335 views
Skip to first unread message

Cosmin Pitu

unread,
Apr 21, 2010, 5:13:02 AM4/21/10
to Google Maps JavaScript API v3
Hi,

I am working on porting v2 JavaScript code to v3 of the API, the
increased zoom level on Satellite maps in v3 is just wonderful !
I just wanted to ask if the v2 getMaxZoomAtLatLng() function is
implemented / will be implemented in v3.

Here is the legacy code I would like to port, it's taken from the v2
Samples :

function setZoom(latlng)
{
map.getCurrentMapType().getMaxZoomAtLatLng(latlng,
function(response)
{
if ( (response) && (response['status'] == G_GEO_SUCCESS) )
{
map.setCenter(latlng, response['zoom']);
}
});
}

Thank you in advance !

--
You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group.
To post to this group, send email to google-map...@googlegroups.com.
To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Cosmin Pitu

unread,
May 26, 2010, 2:27:13 AM5/26/10
to Google Maps JavaScript API v3
Any chance of getting an answer please ?

Thank you !

Chad Killingsworth

unread,
May 26, 2010, 7:48:03 AM5/26/10
to Google Maps JavaScript API v3
This is not currently a feature of the v3 API, but there is a feature
request in the issue tracker: http://code.google.com/p/gmaps-api-issues/issues/detail?id=1624

Star the issue to both vote for it and follow it's progress.

Chad Killingsworth

Reply all
Reply to author
Forward
0 new messages