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
> [email protected]
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>


_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to