[OpenLayers-Users] Re: how to animate layers on OpenLayers 2.11?
ggarcia
ggarcia at ihman.com
Tue Aug 9 12:53:00 EDT 2011
Thanks for your quick answer xD but I've already tried that "possible
solution" without any change, my tiles continued without animation. Maybe
"TMS Layer" cannot be animated with the resize transition effect. I don't
undestand why not because that option is in the API:
http://dev.openlayers.org/docs/files/OpenLayers/Layer-js.html#OpenLayers.Layer.transitionEffect
Here is what I'm doing:
[CODE]
// "TMS Layer"
var layer = new OpenLayers.Layer.TMS( "TMS Layer","",
{url: '', serviceVersion: '.', layername: '.', alpha: true,
type: 'png', getURL: map_overlay_getTileURL},
{transitionEffect:"resize"}
);
// Adding layer to the map
map.addLayer(layer);
[/CODE]
Thanks for your time, every time I can I try to contribute to the comunity
with my advance in OL xD
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/how-to-animate-layers-on-OpenLayers-2-11-tp6668547p6668847.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list