ui.Map.CloudStorageLayer.setOpacity
Sets the opacity of the layer.
Returns this map layer.
Usage | Returns |
---|
CloudStorageLayer.setOpacity(opacity) | ui.Map.AbstractLayer |
Argument | Type | Details |
---|
this: ui.map.abstractlayer | ui.Map.AbstractLayer | The ui.Map.AbstractLayer instance. |
opacity | Number, optional | The layer's opacity represented as a number between 0 and 1. |
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."],[[["Sets the opacity of the CloudStorageLayer, controlling its visibility on the map."],["The `setOpacity()` method takes an optional numerical argument between 0 and 1 representing the desired opacity level."],["Returns the ui.Map.AbstractLayer instance, allowing for method chaining."]]],[]]