Class: module:State

module:State(geolocation, edition, lizmap3)

new module:State(geolocation, edition, lizmap3)

Create a geolocation survey instance

Parameters:
Name Type Description
geolocation Geolocation

The Lizmap geolocation instance

edition Edition

The Lizmap edition instance

lizmap3 object

The old lizmap object

Source:

Classes

State
GeolocationSurvey
SelectionTool
State

Methods

selectLayerFeaturesFromSelectionFeature(targetFeatureType, selectionFeature, geomOperator)

select layer's features with a feature and a geometry operator

Parameters:
Name Type Default Description
targetFeatureType string

target feature type

selectionFeature Feature

selection feature in map projection

geomOperator string intersects

geometry operator

Source:

module:State(map, digitizing, initialConfig, lizmap3)

new module:State(map, digitizing, initialConfig, lizmap3)

Create a selection tool instance

Parameters:
Name Type Description
map Map

OpenLayers map

digitizing Digitizing

The digitizing module

initialConfig Config

The Lizmap initial config

lizmap3 object

The old lizmap object

Source:

Classes

State
GeolocationSurvey
SelectionTool
State

Methods

selectLayerFeaturesFromSelectionFeature(targetFeatureType, selectionFeature, geomOperator)

select layer's features with a feature and a geometry operator

Parameters:
Name Type Default Description
targetFeatureType string

target feature type

selectionFeature Feature

selection feature in map projection

geomOperator string intersects

geometry operator

Source: