Class: AttributeLayerConfig

AttributeTable.AttributeLayerConfig(layerName, cfg)

new AttributeLayerConfig(layerName, cfg)

Create an attribute layer config instance

Parameters:
Name Type Description
layerName string

the layer name

cfg object

the lizmap config object for tooltip layer

Source:

Members

exportEnabled :boolean

The layer export is enabled

Type:
  • boolean
Source:

exportFormats :Array.<string>

The layer export formats

Type:
  • Array.<string>
Source:

exportLimited :boolean

The layer export is limited by max features

Type:
  • boolean
Source:

exportMaxFeatures :number

The layer export max features

Type:
  • number
Source:

hiddenFields :string

The layer hidden fields

Type:
  • string
Source:

hideAsChild :boolean

The layer is hide as child

Type:
  • boolean
Source:

hideLayer :boolean

The layer is hide in attribute table list

Type:
  • boolean
Source:

pivot :boolean

The layer is pivot table

Type:
  • boolean
Source:

primaryKey :string

The layer primary key

Type:
  • string
Source:

Methods

getEffectiveExportFormats(vectorLayerResultFormats) → {Array.<string>}

Get the list of effective format for file export

Parameters:
Name Type Description
vectorLayerResultFormats Array.<string>

The list of format for file export

Source:
Returns:

The list of effective format for file export

Type
Array.<string>