/* Setting Google Map Max/Min Zoom Levels */ map = new GMap2(document.getElementById("google_maps")); // Restricting the range of Zoom Levels // Get the list of map types var mt = map.getMapTypes(); // Overwrite the getMinimumResolution() and getMaximumResolution() methods for (var i=0; i mt[i].getMinimumResolution = function() {return 7;} mt[i].getMaximumResolution = function() {return 11;} }
Tuesday, 29 March 2011
Setting Google Map Max/Min Zoom Levels
Subscribe to:
Posts (Atom)