[Users] add animated zoom to map

Febin T T febin at sblgis.com
Tue Jun 22 07:28:12 CEST 2010


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"
        });
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20100622/e460e700/attachment.htm 


More information about the Users mailing list