run Method
This method runs the tool, setting the transparency of a map layer.
run(layerIndex: number, transparency: number): Promise<boolean>
| Parameter | Type | Description | 
|---|---|---|
| layerIndex | number | the index of the layer to change | 
| transparency | number | a numeric value in the range 0.0 (fully opaque) to 1.0 (fully transparent) | 
Returns -  Promise
Defined in
Last Updated: 24 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.