[OpenLayers-Users] annotations undo-redo
Dimitrios Sferopoulos
d.sferopoulos at ed.ac.uk
Wed Nov 21 03:16:15 PST 2012
Hi all,
I'm trying to implement an undo-redo functionality for openlayers
annotations. Unfortunately openlayers is a bit inconsistent with raising
events, for example moving a feature does not raise any event
whatsoever. Also changing the style of a feature is not firing any event
neither.
I don't want to go through the pain of adding listeners to every
individual button on my annotations toolbar that does not fire an
openlayers event as that would be rather messy.
What would be the way to go with this? Is it possible to extend
openlayers to for example raise an event when a feature is moved?
Cheers
Dimitrios
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
More information about the Users
mailing list