[OpenLayers-Dev] google layer problem

li ethan ethan919 at gmail.com
Wed Nov 28 01:17:16 EST 2007


Dear listers:
      I'm trying to add google satellite layer,to adapt my own program
I changed the number of layers in the initialize function like this:
var g_satellite_layer = new OpenLayers.Layer.Google( "Google
Satellite" , {type: G_SATELLITE_MAP, MIN_ZOOM_LEVEL:9,
MAX_ZOOM_LEVEL:15} );
but when I change baselayer to this layer,it will disable all the
overlays,make all of them disappear and disable.It seems like when I
set MIN_ZOOM_LEVEL greater than 2,the above problem will come up ,when
the MIN_ZOOM_LEVEL is equal or lesser than 2,everything is fine,does
anyone know what causes this problem,Thanks in advance!



More information about the Dev mailing list