Hello,

I have to limit somehow the minimum zoom level on the default maps on
Google Maps v.3.
In v.2 something like this was possible by "overwriting"
GMapType.getMinimumResolution().
Any idea how can I do this in v.3?
I read on a post that "currently (Nov. 24 2009) we do not support this
feature". Is it still not supported?

Another thing:
Since on this map there will be some image overlays, I was trying to
create an overlay and limit the zoom level there. See sample below
(based on Image overlay example:
http://code.google.com/apis/maps/documentation/v3/examples/maptype-traffic.html):

  var options = {
    getTileUrl: function(coord, zoom) {
var tileURL = "http://mt3.google.com/mapstt?"; + "zoom=" + zoom + "&x="
+ coord.x + "&y=" + coord.y + "&client=google";
      return tileURL;
   },
   tileSize: new google.maps.Size(256, 256),
   isPng: true,
   minZoom: 3,
   maxZoom: 15
  };
  var traffic = new google.maps.ImageMapType(options);

  var map;
  function initialize() {
    map = new google.maps.Map(document.getElementById("map_canvas"));
    map.setCenter(new google.maps.LatLng(37.76, -122.45));
    map.setZoom(12);
    map.setMapTypeId('roadmap');
    map.overlayMapTypes.insertAt(0, traffic);
  }

This doesn't work also. I have to admit that on some levels there is
no more traffic image displayed but that doesn't limit zoom level.
Q: min / max zoom on image overlay means the minimum / maximum zoom
level on which this overlay is / should be applied OR it should limit
the zoom levels on the map to what values I set?

Can you give me any hints how can I do this?

-- 
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.

Reply via email to