ui.Map.DrawingTools.getDrawModes

Gets the available draw modes on the drawing tool. The available draw mode shapes are: point, line, polygon, and rectangle.

Returns the list of enabled draw modes.

UsageReturns
DrawingTools.getDrawModes()List
ArgumentTypeDetails
this: ui.map.drawingtoolsui.Map.DrawingTools

The ui.Map.DrawingTools instance.