Whoops, restoring to the list
I maintain an array of points to add or remove from the feature's
geometry. At appropriate intervals, I add or remove them and then call
a refresh on the layer.
I don't know whether OL supports animated gifs, but imagine it does.
....M
On 10/25/2010 10:57 PM, Imran Rajjad wrote:
so you are overwriting the geometry of the feature everytime time and
then redrawing it?
and does openLayers support animated GIF has external graphics?
regards,
Imran
On 10/26/10, Michael<[email protected]> wrote:
Yes indeed. After doing that, you either need to redraw the vector
feature or redraw the layer.
I have a nice set of animated lines, thanks to the great examples
posted. In my case, I am adding and removing points. I believe that
there are commands to move the entire geometry, if you choose.
On 10/25/2010 10:28 PM, Imran Rajjad wrote:
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
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users