On 8/9/2011 8:24 AM, ggarcia wrote:
Hi friends! xD
Someone knows if there is a custom solution to animate layers on OL 2.11?

Try transitionEffect:'resize'
This goes into your layer options (not the WMS params) in your Layer constructor, like this:

map.addLayer(new OpenLayers.Layer.WMS(
 "Stuff",
 "http://wms/";,
 { layers:'world' },
 { transitionEffect:'resize' }
);


http://dev.openlayers.org/apidocs/files/OpenLayers/Layer-js.html#OpenLayers.Layer.transitionEffect

--
Greg Allensworth, Web GIS Developer
BS  A+  Network+  Security+  Linux+  Server+
GreenInfo Network - Information and Mapping in the Public Interest
564 Market Street, Suite 510  San Francisco CA 94104
PH: 415-979-0343 x302  FX: 415-979-0371    email: [email protected]
Web: www.GreenInfo.org     www.MapsPortal.org

Subscribe to MapLines, our e-newsletter, at www.GreenInfo.org
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to