ui.Map.DrawingTools.setSelected

Stay organized with collections Save and categorize content based on your preferences.

Sets the selected layer.

Returns this set of drawing tools.

UsageReturns
DrawingTools.setSelected(layer)ui.Map.DrawingTools
ArgumentTypeDetails
this: ui.map.drawingtoolsui.Map.DrawingToolsThe ui.Map.DrawingTools instance.
layerui.Map.GeometryLayer, optionalThe layer to select or null to deselect all layers.