ui.Map.DrawingTools.setDrawModes

Sets the available draw mode shapes on the drawing tool. The available draw mode shapes are: point, line, polygon, and rectangle.
Usage Returns
DrawingTools. setDrawModes ( drawModes )
Argument Type Details
this: ui.map.drawingtools
ui.Map.DrawingTools The ui.Map.DrawingTools instance.
drawModes
List<String>, optional The list of draw modes to enable. Defaults to all supported ones.
Create a Mobile Website
View Site in Mobile | Classic
Share by: