ui.Map.DrawingTools.getDrawModes

Stay organized with collections Save and categorize content based on your preferences.

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.