[OpenLayers-Dev] Animated Zoom
aymankoo
ayman_sjo at yahoo.com
Fri May 14 14:05:09 EDT 2010
Thank you very much, I tried it but It didn't work
here is my code
var zoomAttributes = {
numZoomLevels : 19,
minZoomLevel : 5,
transitionEffect : 'resize'
}
map = new OpenLayers.Map('map');
map.addControl(new OpenLayers.Control.LayerSwitcher());
gphy = new OpenLayers.Layer.Google(
"Google Physical",
OpenLayers.Util.extend(zoomAttributes, {type:
G_PHYSICAL_MAP})
);
map.addLayers([gphy]);
map.setCenter(new OpenLayers.LonLat(10.2, 48.9), 5);
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Animated-Zoom-tp5046165p5052005.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.
More information about the Dev
mailing list