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.

Usage Returns
DrawingTools. setShape (shape) ui.Map.DrawingTools
Argument Type Details
this: ui.map.drawingtools
ui.Map.DrawingTools The ui.Map.DrawingTools instance.
shape
String The shape to draw.
Create a Mobile Website
View Site in Mobile | Classic
Share by: