According to tutorial: http://econym.org.uk/gmap/example_range.htm

This works:

////////////////////////////////////////////////////////////////////////////////////////
var map = new GMap2(document.getElementById('map'));

var mt = map.getMapTypes();
for (var i=0; i<mt.length; i++)
{
        mt[i].getMinimumResolution = function() {return 7;}
        mt[i].getMaximumResolution = function() {return 11;}
}

map.addControl(new GLargeMapControl3D());
map.setCenter(new GLatLng(53.3,-1.6), 7);
////////////////////////////////////////////////////////////////////////////////////////

While this not: (Added G_PHYSICAL_MAP map type)

////////////////////////////////////////////////////////////////////////////////////////
var map = new GMap2(document.getElementById('map'));

var mt = map.getMapTypes();
for (var i=0; i<mt.length; i++)
{
        mt[i].getMinimumResolution = function() {return 7;}
        mt[i].getMaximumResolution = function() {return 11;}
}

map.addControl(new GLargeMapControl3D());
map.setCenter(new GLatLng(53.3,-1.6), 7, G_PHYSICAL_MAP);
////////////////////////////////////////////////////////////////////////////////////////

Why?
--~--~---------~--~----~------------~-------~--~----~
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