[OpenLayers-Dev] google layer problem

Eric Lemoine eric.c2c at gmail.com
Fri Nov 30 02:19:21 EST 2007


On Nov 30, 2007 3:35 AM, li ethan <ethan919 at gmail.com> wrote:
> Well,it fixes my problem.Amazing! Thanks Eric for your infomation:)
> But i'm not sure it'll work on other circumstances,like I leave
> MIN_ZOOM_LEVEL and MAX_ZOOM_LEVEL default and change the maxResolution
> to another value.I'll dive into more deeply to see how this happen:)

I realized that you should set minZoomLevel and maxZoomLevel instead
of MIN_ZOOM_LEVEL and MAX_ZOOM_LEVEL. See
<http://www.openlayers.org/dev/examples/google.html>. You may still
need the patch attached to #1124 though.

Cheers,
--
Eric



More information about the Dev mailing list