ui.Map.FeatureViewLayer.setOpacity

Sets the opacity of the layer.

Returns this map layer.

UsageReturns
FeatureViewLayer.setOpacity(opacity)ui.Map.AbstractLayer
ArgumentTypeDetails
this: ui.map.abstractlayerui.Map.AbstractLayerThe ui.Map.AbstractLayer instance.
opacityNumber, optionalThe layer's opacity represented as a number between 0 and 1.