[OpenLayers-Dev] Undo/Redo implementation

Eric Lemoine Eric.Lemoine at camptocamp.com
Thu Mar 22 04:12:07 EDT 2007


On 3/18/07, Eric Lemoine <Eric.Lemoine at camptocamp.com> wrote:
> Hi OpenLayers dev!
>
> I've been working on adding undo/redo support in OpenLayers.
>
> In my first implementation undo/redo works for PanZoom operations,
> i.e. extent operations resulting from user actions on the PanZoom
> control object.
>
> The implementation is available here :
> <http://svn.openlayers.org/sandbox/elemoine/openlayers/>. See
> <http://dev.openlayers.org/sandbox/elemoine/openlayers/examples/history.html>
> to see the implementation at work.

My implementation now works for (hopefully) all extent-type
operations. Meaning you can pan/zoom using tools/mousewheel and go
back to previous extent states.
Go check <http://dev.openlayers.org/sandbox/elemoine/openlayers/examples/history.html>
for a demo.

Thanks,

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com



More information about the Dev mailing list