Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ui.Map.Layer.getEeObject
Stay organized with collections
Save and categorize content based on your preferences.
Returns the layer's ee.Object.
Usage | Returns | Layer.getEeObject() | Collection|Feature|Image |
Argument | Type | Details | this: ui.map.layer | ui.Map.Layer | The ui.Map.Layer 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 retrieves the Earth Engine object (Collection, Feature, or Image) associated with a specific layer.\u003c/p\u003e\n"],["\u003cp\u003eIt is used with a \u003ccode\u003eui.Map.Layer\u003c/code\u003e instance and returns the underlying Earth Engine object, enabling further data processing or analysis within the Earth Engine environment.\u003c/p\u003e\n"]]],["The `Layer.getEeObject()` method retrieves the underlying Earth Engine object associated with a map layer. This method returns a `Collection`, `Feature`, or `Image` object. It operates on a `ui.Map.Layer` instance, denoted as `this: ui.Map.Layer`, representing the specific layer within the map user interface from which the data is retrieved.\n"],null,["# ui.Map.Layer.getEeObject\n\n\u003cbr /\u003e\n\nReturns the layer's ee.Object.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------|----------------------------|\n| Layer.getEeObject`()` | Collection\\|Feature\\|Image |\n\n| Argument | Type | Details |\n|----------------------|--------------|----------------------------|\n| this: `ui.map.layer` | ui.Map.Layer | The ui.Map.Layer instance. |"]]