[OpenLayers-Users] how to animate layers on OpenLayers 2.11?
ggarcia
ggarcia at ihman.com
Tue Aug 9 11:24:18 EDT 2011
Hi friends! xD
Someone knows if there is a custom solution to animate layers on OL 2.11?
1) I know how to do it using this example (demo with animated zooming and
panning):
http://dev.openlayers.org/sandbox/emanuel/animatedZooming/demo.html
2) But I'm looking for a simple way like Google does:
http://openlayers.org/dev/examples/google-v3.html
For the second case we enable animation in all layers using the following
code:
[CODE]
animate.onclick = function() {
for (var i=map.layers.length-1; i>=0; --i) {
map.layers[i].animationEnabled = true;
}
};
[/CODE]
Thanks in advance!
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/how-to-animate-layers-on-OpenLayers-2-11-tp6668547p6668547.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list