[OpenLayers-Dev] Undo/Redo implementation

Bart van den Eijnden (OSGIS) bartvde at osgis.nl
Thu Mar 22 04:51:53 EDT 2007


Very nice. This will come in handy.

I assume the eventual implementation will be two buttons on a toolbar?

Best regards,
Bart

--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl


--------- Oorspronkelijk bericht --------
Van: Eric Lemoine <Eric.Lemoine at camptocamp.com>
Naar: dev at openlayers.org <dev at openlayers.org>
Onderwerp: Re: [OpenLayers-Dev] Undo/Redo implementation
Datum: 22/03/07 06:12

> On 3/18/07, Eric Lemoine &lt;Eric.Lemoine at camptocamp.com&gt; wrote:
> &gt; Hi OpenLayers dev!
> &gt;
> &gt; I've been working on adding undo/redo support in OpenLayers.
> &gt;
> &gt; In my first implementation undo/redo works for PanZoom operations,
> &gt; i.e. extent operations resulting from user actions on the PanZoom
> &gt; control object.
> &gt;
> &gt; The implementation is available here :
> &gt; &lt;http://svn.openlayers.org/sandbox/elemoine/openlayers/&gt;. See
> &gt;
&lt;http://dev.openlayers.org/sandbox/elemoine/openlayers/examples/history.html&gt;
> &gt; 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
&lt;http://dev.openlayers.org/sandbox/elemoine/openlayers/examples/history.html&gt;
> 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
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
> 
> 






More information about the Dev mailing list