ui.Map.DrawingTools

A set of tools for drawing on a map.
Usage Returns
ui.Map.DrawingTools( layers , shape , selected , shown , linked ) ui.Map.DrawingTools
Argument Type Details
layers
List<ui.Map.GeometryLayer>, optional An array of geometry layers with which to initialize the drawing tools.
shape
String, optional The shape to draw. One of the following: point, line, polygon, or rectangle. Defaults to polygon.
selected
ui.Map.GeometryLayer, optional The selected geometry layer. Defaults to null.
shown
Boolean, optional When false, hides the drawing tools or, when true, shows the shape selector and allows the list panel's visibility to be determined by the presence of geometry layers in the list. Defaults to true.
linked
Boolean, optional Whether the drawing tools are linked to the geometries in the imports pane. When false, the tools do not display imported geometries. Defaults to false.
Create a Mobile Website
View Site in Mobile | Classic
Share by: