OpenLayers Undo/Redo Control Example

Try drawing some polygons, editing them, and pressing Ctrl-Z to undo, and either Ctrl-Y or Ctrl-Shift-Z to redo.
Note: Some browsers (like Firefox) capture Ctrl-Y for browser related functions.