# OpenLayers Draw Feature Example

point, line, linestring, polygon, digitizing, geometry, draw, drag

Demonstrate on-screen digitizing tools for point, line, and polygon creation.

- navigate
- draw point
- draw line
- draw polygon

With the point drawing control active, click on the map to add a point. You can drag the point before letting the mouse up if you want to adjust the position.

With the line drawing control active, click on the map to add the points that make up your line. Double-click to finish drawing.

With the polygon drawing control active, click on the map to add the points that make up your polygon. Double-click to finish drawing.

Hold down the shift key while drawing to activate freehand mode. While drawing lines or polygons in freehand mode, hold the mouse down and a point will be added with every mouse movement.