ui.Map.GeometryLayer.getShown
Returns whether the shapes in the layer are shown.
Usage | Returns |
---|
GeometryLayer.getShown() | Boolean |
Argument | Type | Details |
---|
this: ui.map.geometrylayer | ui.Map.GeometryLayer | The ui.Map.GeometryLayer 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."],[[["The `getShown()` method indicates whether shapes within a GeometryLayer are currently visible."],["It returns a boolean value (`true` if visible, `false` if hidden) and is called on a ui.Map.GeometryLayer object."]]],["The `GeometryLayer.getShown()` method determines the visibility of shapes within a `ui.Map.GeometryLayer`. It takes a `ui.Map.GeometryLayer` instance as input and returns a Boolean value. This Boolean indicates whether the shapes contained in the specified layer are currently displayed (true) or hidden (false). The method requires no other arguments.\n"]]