Class: module:Edition

module:Edition(lizmap3)

new module:Edition(lizmap3)

Create an edition instance

Parameters:
Name Type Description
lizmap3 object

The old lizmap object

Source:

Classes

EditionCapabilitiesConfig
EditionLayerConfig
EditionLayersConfig
Edition

Members

lastActiveVertex :object|null

The last modified vertex geometry

Type:
  • object | null
Source:

Methods

fetchEditableFeatures(layerIds, layerFeatures)

Fetch editable features for given array of layer IDs

Parameters:
Name Type Description
layerIds Array

Array of layer IDs

layerFeatures Array

filter on features

Source:

setOL2SketchGeometryStyle(style) → {void}

Sets the style for sketch geometry, in both drawing mode and edit mode. Setting an empty object restores the default style.

Parameters:
Name Type Description
style object | null
Source:
Returns:
Type
void