Looks like as the minZoom property is doing its job whereas the
maxZoom property will be ignored. Seems like a regression bug in the
new API version.

You can revert back to version 3.2 of the API for a faultless
implementation in this case.


Besides: Very interesting overlay.




On Dec 20, 7:31 am, George Champlin <[email protected]> wrote:
> Here's an example:http://www.champlindesign.com/maps/minMaxZoomTest.html
>
> MinZoom is limited to 2 while max zoom does not stop at 4 as expected,
> and as it has been working up until very recently.
>
> On Dec 19, 9:42 pm, Chris Broadfoot <[email protected]> wrote:
>
> > Can you provide a link to your map please?
>
> > On Sun, Dec 19, 2010 at 7:23 PM, George Champlin
> > <[email protected]>wrote:
>
> > > 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]<google-maps-js-api-v3%2B
> > >  [email protected]>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-maps-js-api-v3?hl=en.

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