I have been using this function to limit the minZoom and maxZoom of my
maps. The minZoom limit is still working but the maxZoom limit now has
no effect. It has been working until sometime this month.
function limitZoom(min, max) {
google.maps.event.addListenerOnce(map, "bounds_changed", function()
{
var mapTypes = map.mapTypes;
var sat = mapTypes.get(google.maps.MapTypeId.SATELLITE);
sat.minZoom = min;
sat.maxZoom = max;
});
}
I know the Dec 5 release implemented MaxZoomService for satellite maps
to return the max zoom of satellite coverage for a given latllng.
Could there be any connection with my problem?
If not, why has this function stopped working.
--
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 [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.