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.DrawingToolsThe ui.Map.DrawingTools instance.
layerui.Map.GeometryLayer, optionalThe layer to select or null to deselect all layers.