Reputation:
I need to implement undo
and redo
functions in my app. I found that the simpliest way(?) is to use openlayers undo
and redo
build-in functions. -> http://dev.openlayers.org/docs/files/OpenLayers/Control/DrawFeature-js.html
But I have troubles with implementing them. Can anybody provide me with an example of their implementation(OpenLayers.Control.DrawFeature.undo
) or give advice how can I implement undo
and redo
functions in another way?
Upvotes: 2
Views: 1679
Reputation: 2376
Have you take a look at its corresponding example?
See Undo/Redo Drawing example.
Upvotes: 3