Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ui.Map.DrawingTools.getLinked
Stay organized with collections
Save and categorize content based on your preferences.
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."],[[["\u003cp\u003eThis function checks if geometries created using the drawing tools on the map are linked to the geometries in the imports panel.\u003c/p\u003e\n"],["\u003cp\u003eIt returns a boolean value indicating whether the linkage is active or not (\u003ccode\u003etrue\u003c/code\u003e for linked, \u003ccode\u003efalse\u003c/code\u003e for unlinked).\u003c/p\u003e\n"],["\u003cp\u003eThe function is accessed through the \u003ccode\u003eDrawingTools.getLinked()\u003c/code\u003e method on the ui.Map.DrawingTools instance.\u003c/p\u003e\n"]]],["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"],null,["# ui.Map.DrawingTools.getLinked\n\n\u003cbr /\u003e\n\nReturns whether the drawing tools' geometries are linked to those in the imports panel.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------------|---------|\n| DrawingTools.getLinked`()` | Boolean |\n\n| Argument | Type | Details |\n|-----------------------------|---------------------|-----------------------------------|\n| this: `ui.map.drawingtools` | ui.Map.DrawingTools | The ui.Map.DrawingTools instance. |"]]