Class: Config

Config.Config(cfg, wmsCapabilities, wfsCapabilitiesopt)

new Config(cfg, wmsCapabilities, wfsCapabilitiesopt)

Create a new Config object

Parameters:
Name Type Attributes Description
cfg object

the lizmap config object

wmsCapabilities object

the WMS capabilities

wfsCapabilities object <optional>

the WFS capabilities

Source:

Members

attributeLayers :AttributeLayersConfig|null

Config attribueLayers

Type:
  • AttributeLayersConfig | null
Source:

baseLayers :BaseLayersConfig

Config base layers

Type:
  • BaseLayersConfig
Source:

datavizLayers :DatavizLayersConfig|null

Config datavizLayers

Type:
  • DatavizLayersConfig | null
Source:

datavizLocale :string

Dataviz locale

Type:
  • string
Source:

datavizOptions :DatavizOptionsConfig|null

Config datavizOptions

Type:
  • DatavizOptionsConfig | null
Source:

editionLayers :EditionLayersConfig|null

Config editionLayers

Type:
  • EditionLayersConfig | null
Source:

formFilterLayers :FormFilterConfig|null

Config formFilterLayers

Type:
  • FormFilterConfig | null
Source:

hasAttributeLayers :boolean

Attribute layers config is defined

Type:
  • boolean
Source:

hasDatavizConfig :boolean

Dataviz config is defined

Type:
  • boolean
Source:

hasEditionLayers :boolean

Edition layers config is defined

Type:
  • boolean
Source:

hasFormFilterLayers :boolean

Form filter layers config is defined

Type:
  • boolean
Source:

hasLocateByLayer :boolean

Locate by layer config is defined

Type:
  • boolean
Source:

hasLoginFilteredLayers :boolean

Login filtered layers config is defined

Type:
  • boolean
Source:

hasPrintTemplates :boolean

Print templates config is defined

Type:
  • boolean
Source:

hasRelations :boolean

Relations config is defined

Type:
  • boolean
Source:

hasThemes :boolean

Themes config is defined

Type:
  • boolean
Source:

hasTimemanagerLayers :boolean

Time manager config is defined

Type:
  • boolean
Source:

hasTooltipLayers :boolean

Tooltip layers config is defined

Type:
  • boolean
Source:

invalidLayersNotFoundInCfg :Array.<string>

List of invalid layers, not found in the Lizmap configuration file, but found in the WMS GetCapabilities.

Type:
  • Array.<string>
Source:

layerTree :LayerTreeGroupConfig

Root tree layer group

Type:
  • LayerTreeGroupConfig
Source:

layers :LayersConfig

Config layers

Type:
  • LayersConfig
Source:

layersOrder :Array.<string>

Layer names displaying order like in QGIS

The first one in this list is the top one in the map The last one in this list is the bottom one in the map

Type:
  • Array.<string>
Source:

locateByLayer :LocateByLayerConfig|null

Config locateByLayer

Type:
  • LocateByLayerConfig | null
Source:

metadata :MetadataConfig

Config metadata

Type:
  • MetadataConfig
Source:

options :OptionsConfig

Config options

Type:
  • OptionsConfig
Source:

themes :ThemesConfig|null

Config themes

Type:
  • ThemesConfig | null
Source:

timemanagerLayers :AttributeLayersConfig|null

Config timemanagerLayers

Type:
  • AttributeLayersConfig | null
Source:

tooltipLayers :TooltipLayersConfig|null

Config tooltipLayers

Type:
  • TooltipLayersConfig | null
Source:

vectorLayerFeatureTypeList :Array.<WfsFeatureType>

The list of WFS feature type

Type:
  • Array.<WfsFeatureType>
Source:

vectorLayerResultFormat :Array.<string>

The list of format for file export

Type:
  • Array.<string>
Source: