opacity
A number that indicates a tile’s opacity.
Declaration
get opacity(): number;
set opacity(opacity: number);Discussion
Opacity can be a decimal value ranging from 0 to 1, inclusive:
An opacity value of
0indicates tiles aren’t visible.An opacity value of
1indicates tiles are completely opaque. A tile overlay with an opacity of1can still have an alpha channel and allow underlying overlays or the default tiles to show through.
The default value is 1.