new module:LocateByLayer(locateByLayer, vectorLayerFeatureTypeList, map, lizmap3)
Build the lizmap LocateByLayer instance
Parameters:
| Name | Type | Description |
|---|---|---|
locateByLayer |
LocateByLayerConfig | The lizmap locateByLayer config |
vectorLayerFeatureTypeList |
Array.<Config> | The list of WFS feature type |
map |
Map | OpenLayers map |
lizmap3 |
object | The old lizmap object |
- Source:
Classes
Methods
(async) fetchLocateFeatures() → {Promise.<void>}
Loads all locate by layers features and dispatch lizmap.locatebylayer.loaded event
- Source:
Returns:
- Type
- Promise.<void>
(async) getLocateFeature(aName)
Get features for locate by layer tool
Parameters:
| Name | Type | Description |
|---|---|---|
aName |
string | The layer name |
- Source:
updateLocateFeatureList(aName)
Get features for locate by layer tool
Parameters:
| Name | Type | Description |
|---|---|---|
aName |
string | The layer name |
- Source:
zoomToLocateFeature(aName)
Zoom to locate feature
Parameters:
| Name | Type | Description |
|---|---|---|
aName |
string | The layer name |
- Source: