run Method
This method runs the tool, setting the visibility of a map layer.
run(layerIndex: number, enable?: boolean): Promise<boolean>
Parameter | Type | Description |
---|---|---|
layerIndex | number | the index of the layer to change |
enable | boolean |
Returns - Promise
Defined in
Last Updated: 22 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.