Skip to content

gi-nx


gi-nx / changeLayerVisibility

ts
function 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

ParameterType
layerIdstring
visibleboolean

Returns

void