Class: State

State.State(initialCfg, startupFeatures)

new State(initialCfg, startupFeatures)

Parameters:
Name Type Description
initialCfg Config the lizmap initial config instance
startupFeatures Array | undefined the features to highlight at startup
Source:

Members

baseLayers :BaseLayersState

The base layers state
Type:
  • BaseLayersState
Source:

layerTree :TreeRootState

Root tree layer group
Type:
  • TreeRootState
Source:

layersAndGroupsCollection :LayersAndGroupsCollection

The layers and groups collection
Type:
  • LayersAndGroupsCollection
Source:

map :MapState

The map state
Type:
  • MapState
Source:

rootMapGroup :MapRootState

Root map group
Type:
  • MapRootState
Source: