gi-nx
gi-nx / changeLayerVisibility
tsfunction changeLayerVisibility(layerId: string, visible: boolean): void;
Change the visibility of a layer. layerId is the id of the layer, or the layer name. Visible is a boolean.
Parameters
| Parameter | Type |
|---|
layerId | string |
visible | boolean |
Returns
void