Class: LayerSymbolsSymbology

SymbologyState.LayerSymbolsSymbology(node)

Class representing the layer symbols symbology

Constructor

new LayerSymbolsSymbology(node)

Create a layer symbols symbology instance based on a node object provided by QGIS Server
Parameters:
Name Type Description
node object the QGIS node symbology
Properties
Name Type Description
type string the node type: layer
symbols Array the png image in base64
name string the layer name
title string the node title
Source:

Extends

  • BaseSymbolsSymbology

Members

children :Array.<(SymbolIconSymbology|SymbolRuleSymbology)>

The children icons
Type:
  • Array.<(SymbolIconSymbology|SymbolRuleSymbology)>
Source:

childrenCount :number

Children icons count
Type:
  • number
Source:

legendOn :boolean

Is legend ON ?
Type:
  • boolean
Source:

name :string

The layer name
Type:
  • string
Source:

Methods

(generator) getChildren() → {SymbolIconSymbology|SymbolRuleSymbology}

Iterate through children icons
Source:
Yields:
The next child icon
Type
SymbolIconSymbology | SymbolRuleSymbology

wmsParameters(wmsName) → {object}

Parameters for OGC WMS Request
Parameters:
Name Type Description
wmsName string The WMS layer name
Source:
Returns:
can contain LEGEND_ON and LEGEND_OFF parameters
Type
object