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.DrawingToolsThe ui.Map.DrawingTools instance.