ui.Map.layers
Returns the list of layers associated with the map.
Usage | Returns |
---|
Map.layers() | ui.data.ActiveList |
Argument | Type | Details |
---|
this: ui.map | ui.Map | The ui.Map 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."],[[["`Map.layers()` retrieves a list of layers connected to the specified map."],["The returned list is in the format of a `ui.data.ActiveList` which allows for dynamic updates."],["This method is accessed through a `ui.Map` instance, referred to as `this` in the argument details."]]],[]]