Earth Engine has introduced
noncommercial quota tiers to safeguard shared compute resources and ensure reliable performance for everyone. Noncommercial projects use the Community Tier by default, though you can change a project's tier at any time.
ui.Map.DrawingTools.getMap
Stay organized with collections
Save and categorize content based on your preferences.
Returns the map for these drawing tools or null if the drawing tools have not been added to a map.
| Usage | Returns | DrawingTools.getMap() | ui.Map |
| Argument | Type | Details | this: ui.map.drawingtools | ui.Map.DrawingTools | The ui.Map.DrawingTools instance. |
[null,null,["Last updated 2023-10-06 UTC."],[],["The `DrawingTools.getMap()` method retrieves the map associated with drawing tools. It returns a `ui.Map` object if the drawing tools are linked to a map; otherwise, it returns `null`. The method requires the `ui.Map.DrawingTools` instance as input, identified as `this: ui.map.drawingtools`, to specify the drawing tools from which to get the map.\n"]]