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.get
Stay organized with collections
Save and categorize content based on your preferences.
Returns either a clone of this object or, if a key is provided, the value of the property with the passed-in key. Look at the constructor's parameters to see which properties are available.
Usage | Returns | DrawingTools.get(key) | Object |
Argument | Type | Details | this: ui.data.activedictionary | ui.data.ActiveDictionary | The ui.data.ActiveDictionary instance. |
key | String, optional | The key of the property to retrieve. |
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\u003eThe \u003ccode\u003eDrawingTools.get()\u003c/code\u003e method returns either a copy of the DrawingTools object or the value of a specific property.\u003c/p\u003e\n"],["\u003cp\u003eYou can access individual properties of the DrawingTools object by providing their key as an argument.\u003c/p\u003e\n"],["\u003cp\u003eThe available properties and their types are defined in the DrawingTools constructor.\u003c/p\u003e\n"],["\u003cp\u003eThis method is used within a ui.data.ActiveDictionary instance.\u003c/p\u003e\n"]]],[],null,["# ui.Map.DrawingTools.get\n\n\u003cbr /\u003e\n\nReturns either a clone of this object or, if a key is provided, the value of the property with the passed-in key. Look at the constructor's parameters to see which properties are available.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------------|---------|\n| DrawingTools.get`(`*key*`)` | Object |\n\n| Argument | Type | Details |\n|----------------------------------|--------------------------|----------------------------------------|\n| this: `ui.data.activedictionary` | ui.data.ActiveDictionary | The ui.data.ActiveDictionary instance. |\n| `key` | String, optional | The key of the property to retrieve. |"]]