new module:js(initialConfig)
Create a group popup by layer instance
Parameters:
| Name | Type | Description |
|---|---|---|
initialConfig |
Config | The lizmap initial config instance |
- Source:
Members
currentPopupsPerLayer :object
Current module state
Type:
- object
- Source:
isActive :boolean
group popup by layer mode activated
Type:
- boolean
- Source:
singleFeatureClass :string
Class selector for the single feature popup element
Type:
- string
- Source:
Methods
groupPopups(htmlPopup) → {string}
Creates the current state and returns a modified string suitable to be injected in the lizmap-group-popup-layer HTML component
Parameters:
| Name | Type | Description |
|---|---|---|
htmlPopup |
string | the string representing the HTML popup |
- Source:
Returns:
- Type
- string