Class: PrintTemplateConfig

PrintTemplate.PrintTemplateConfig(cfg)

Class representing a print template config

Constructor

new PrintTemplateConfig(cfg)

Create a print template config instance
Parameters:
Name Type Description
cfg object the lizmap config object for print template
Source:

Extends

  • BaseObjectConfig

Members

atlas :PrintAtlasConfig

The atlas
Type:
  • PrintAtlasConfig
Source:

height :number

The height
Type:
  • number
Source:

labels :Array.<PrintLabelConfig>

The copy of print labels
Type:
  • Array.<PrintLabelConfig>
Source:

maps :Array.<PrintMapConfig>

The copy of print maps
Type:
  • Array.<PrintMapConfig>
Source:

title :string

The title
Type:
  • string
Source:

width :number

The width
Type:
  • number
Source:

Methods

(generator) getLabels() → {PrintLabelConfig}

Iterate through print labels
Source:
Yields:
The next print label
Type
PrintLabelConfig

(generator) getMaps() → {PrintMapConfig}

Iterate through print maps
Source:
Yields:
The next print map
Type
PrintMapConfig