ui.Map.Layer.getOpacity

Returns the layer's opacity represented as a number between 0 and 1.

UsageReturns
Layer.getOpacity()Number
ArgumentTypeDetails
this: ui.map.abstractlayerui.Map.AbstractLayerThe ui.Map.AbstractLayer instance.