ui.Map.Layer.getName
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. |
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."],[[["`Layer.getName()` is a method that returns the name of a layer as a string."],["This method is applicable to `ui.Map.AbstractLayer` instances within the Earth Engine user interface."],["There are no arguments required to be passed into the method for it to retrieve the desired information."]]],[]]