Module: Snapping

Classes

Snapping
Snapping

Methods

getLayerTitle(layerId) → {string}

Getting the layer tile or the layer name for snap layers list
Parameters:
Name Type Description
layerId string the layer id
Source:
Returns:
the layer title or layer name
Type
string

getLayerTreeVisibility(layerId) → {boolean}

Getting the layer visibility from the layer tree state
Parameters:
Name Type Description
layerId string the layer id
Source:
Returns:
the layer visibility
Type
boolean

Classes

Snapping
Snapping

Methods

getLayerTitle(layerId) → {string}

Getting the layer tile or the layer name for snap layers list
Parameters:
Name Type Description
layerId string the layer id
Source:
Returns:
the layer title or layer name
Type
string

getLayerTreeVisibility(layerId) → {boolean}

Getting the layer visibility from the layer tree state
Parameters:
Name Type Description
layerId string the layer id
Source:
Returns:
the layer visibility
Type
boolean