ui.Map.DrawingTools.setShape

Sets the draw mode shape and starts draw mode. The available draw mode shapes are: point, line, polygon, and rectangle.

Returns this set of drawing tools.

UsageReturns
DrawingTools.setShape(shape)ui.Map.DrawingTools
ArgumentTypeDetails
this: ui.map.drawingtoolsui.Map.DrawingToolsThe ui.Map.DrawingTools instance.
shapeStringThe shape to draw.