ui.Map.FeatureViewLayer.setOpacity

Stay organized with collections Save and categorize content based on your preferences.

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.