[Users] add animated zoom to map
Bart van den Eijnden (OSGIS)
bartvde at osgis.nl
Tue Jun 22 07:31:17 CEST 2010
Hi,
transitionEffect is set on layers, not on the map.
Best regards,
Bart
> hi all,
>
> I was trying to add animated zoom to my map......
> it can be done by adding transitionEffect: "resize" to the openlayer map
> options
> but how it could be added to a geoext mappanel?
> Following code shows error on line transitionEffect: "resize"
>
> =====================================================================
> mapPanel = new GeoExt.MapPanel({
> title: "Map",
> width: 400,
> region: "center",
> layers: myLayers,
> extent: new
> OpenLayers.Bounds(145.19754,-43.423512,148.27298000000002,-40.852802),
> transitionEffect: "resize"
> });
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list