Hi,
Based on some parameters I change the zoom level using
map.setCenter(lonlat, zoom).
This works perfectly for OSM Mapnik layer but not for Google layer where
the pan zoom bar reflects the new zoom level but the map itself still
shows the previous zoom level. Am I missing something?
osmLayer = new OpenLayers.Layer.OSM.Mapnik("Mapnik");
gMapLayer = new OpenLayers.Layer.Google("Google Maps", {numZoomLevels:
20, isBaseLayer: true });
Axel
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users