ui.Map.DrawingTools.setSelected

Sets the selected layer.

Returns this set of drawing tools.

UsageReturns
DrawingTools.setSelected(layer)ui.Map.DrawingTools
ArgumentTypeDetails
this: ui.map.drawingtoolsui.Map.DrawingTools

The ui.Map.DrawingTools instance.

layerui.Map.GeometryLayer, optional

The layer to select or null to deselect all layers.