This example lets the user to draw, modify and delete features. When drawing, it works as the normal
DrawFeature control in OpenLayers, with two differences:
-
If you press the "DELETE" key, the last added vertix will be removed.
-
If you press the "ESCAPE" key, the drawing will finish and the feature will be
selected to modify. This allows the user to finish the drawing of the feature even
if he forgets to double-click when adding the last point.