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.Layer.getName
Stay organized with collections
Save and categorize content based on your preferences.
Returns the name of the layer.
| Usage | Returns | Layer.getName() | String |
| Argument | Type | Details | this: ui.map.abstractlayer | ui.Map.AbstractLayer | The ui.Map.AbstractLayer instance. |
[null,null,["Last updated 2023-10-06 UTC."],[],["The `Layer.getName()` method retrieves the name of a layer. It operates on a `ui.Map.AbstractLayer` instance. This method takes no arguments and returns a String value. The only argument type is the Abstract layer instance itself which is represented by `this`. This provides a programmatic way to access the layer's identifier within a mapping application.\n"]]