DrawingMode enum

An enumeration of the available drawing modes.

Fields

drawCircle

Draw circles on the map. Literal value "draw-circle"

drawLine

Draw lines on the map. Literal value "draw-line"

drawPoint

Draw individual points on the map. Literal value "draw-point"

drawPolygon

Draw polygons on the map. Literal value "draw-polygon"

drawRectangle

Draw rectangles on the map. Literal value "draw-rectangle"

editGeometry

When in this mode the user can add/remove/move points/coordinates of a shape, rotate shapes, drag shapes.

eraseGeometry

When in this mode the user can erase (delete) shapes tracked by the DrawingManager.

idle

Sets the drawing manager into an idle state. Completes any drawing/edit that are in progress. Literal value "idle"