ui.Map.FeatureViewLayer.setOpacity
Sets the opacity of the layer.
Returns this map layer.
Usage | Returns |
---|
FeatureViewLayer.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 FeatureViewLayer, with a value between 0 and 1 representing transparency."],["Returns the ui.Map.AbstractLayer instance after setting the opacity."],["The `setOpacity()` method is accessed through a FeatureViewLayer object."]]],[]]