gi-nx
gi-nx / resetLayerLens
tsfunction resetLayerLens(layerNameOrId: string): void;
Clear the saved lens (style, filters and property definitions) from a layer
Parameters
| Parameter | Type | Description |
|---|
layerNameOrId | string | The layer name or layer ID |
Returns
void
Throws
Error if the layer is not in the tree