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 selecter 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-06 UTC."],[[["Provides a set of tools for drawing shapes (point, line, polygon, rectangle) directly on a map."],["Allows initialization with existing geometry layers and selection of a default shape."],["Offers control over visibility of the drawing tools and their linkage to imported geometries."],["Enables drawing on specific geometry layers and highlighting a selected layer."]]],[]]