[OpenLayers-Users] zoom level problem

emmexx emmexx at tiscalinet.it
Fri Mar 4 11:47:48 EST 2011


Il 04/03/2011 17:37, Jan H. van der Ven scrisse:
> Dear maxx,
> 
> As a workaround you may try:
>     var layer = new OpenLayers.Layer.Google( "Google layer",
> {'sphericalMercator':true, MIN_ZOOM_LEVEL:1, MAX_ZOOM_LEVEL:16});
> 

I thought about this workaround but I'd like not to mess with google. I
mean, if google will change in the future the max zoom level for that
map, I will have to update the code accordingly.

Thank you
	maxx


More information about the Users mailing list