run Method

This method runs the tool, setting the visibility of a map layer.

run(layerIndex: number, enable?: boolean): boolean

Parameter Type Description
layerIndex number the index of the layer to change
enable boolean  

Returns - boolean

Defined in

Last Updated: 12 June, 2024