Constructor
new MapRootState(layerGroupState)
Creating a map root state instance
Parameters:
Name | Type | Description |
---|---|---|
layerGroupState |
LayerGroupState | the layer tree group config |
- Source:
Extends
- MapGroupState
Methods
createExternalGroup(name) → {ExternalMapGroupState}
Create an external map group state
Parameters:
Name | Type | Description |
---|---|---|
name |
string | the external map group name |
- Source:
Returns:
The external map group state
removeExternalGroup(name) → {ExternalMapGroupState|undefined}
Create an external map group state
Parameters:
Name | Type | Description |
---|---|---|
name |
string | the external map group name to remove |
- Source:
Returns:
The removed external map group or undefined if the name is unknown
- Type
- ExternalMapGroupState | undefined