Class: BaseObjectLayerConfig

BaseObject.BaseObjectLayerConfig(layerName, cfg, requiredPropertiesopt, optionalPropertiesopt)

new BaseObjectLayerConfig(layerName, cfg, requiredPropertiesopt, optionalPropertiesopt)

Constructor to instantiate a layer config

Parameters:
Name Type Attributes Description
layerName string

the layer name

cfg object

the lizmap config object

Properties
Name Type Attributes Description
layerId string

the layer id

order number <optional>

the layer order

requiredProperties object <optional>

the required properties definition

optionalProperties object <optional>

the optional properties definition

Source:

Members

id :string

The layer id

Type:
  • string
Source:

name :string

The layer name

Type:
  • string
Source:

order :number

The layer config order in the list

Type:
  • number
Source: