Hi, An example from OpenLayers http://openlayers.org/dev/examples/rotate-features.html And one own http://gis.ibbeck.de/ginfo/apps/Pentominoes/pentominoes.html
In short You change the geometry of a feature and then you have to redraw the feature feature.geometry.rotate(angle, origin); feature.layer.drawFeature(feature); Arnd -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von Imran Rajjad Gesendet: Dienstag, 26. Oktober 2010 07:28 An: <[email protected]> Betreff: [OpenLayers-Users] animation in openlayers is it possible to modify the geometry of a feature after its added to a vector layer? I`m trying to create an animation of a moving point object on OpenLayers, probably I will have to alter the lat long of the geometry, I wanted to know if someone has already tried that? any links or docs would be appericiated, and secondly can a gif animation file be used as graphic marker through style object given the fact that the animation file works. regards, Imran -- I.R _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
