ui.Map.DrawingTools.getLinked
Returns whether the drawing tools' geometries are linked to those in the imports panel.
Usage | Returns |
---|
DrawingTools.getLinked() | Boolean |
Argument | Type | Details |
---|
this: ui.map.drawingtools | ui.Map.DrawingTools | The ui.Map.DrawingTools instance. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["This function checks if geometries created using the drawing tools on the map are linked to the geometries in the imports panel."],["It returns a boolean value indicating whether the linkage is active or not (`true` for linked, `false` for unlinked)."],["The function is accessed through the `DrawingTools.getLinked()` method on the ui.Map.DrawingTools instance."]]],["The function `DrawingTools.getLinked()` determines if the geometries of drawing tools are connected to the geometries in the imports panel. It returns a boolean value (true if linked, false otherwise). The function operates on an instance of `ui.Map.DrawingTools`, which is specified as the `this` argument. No other arguments are used by the function.\n"]]