Class: BaseSymbolsSymbology

SymbologyState.BaseSymbolsSymbology(node, requiredPropertiesopt, optionalPropertiesopt, iconClassopt)

Class representing the layer symbols symbology

Constructor

new BaseSymbolsSymbology(node, requiredPropertiesopt, optionalPropertiesopt, iconClassopt)

Create a layer symbols symbology instance based on a node object provided by QGIS Server

Parameters:
Name Type Attributes Description
node object

the QGIS node symbology

Properties
Name Type Description
type string

the node type: layer

symbols Array

the png image in base64

title string

the node title

requiredProperties object <optional>

the required properties definition

optionalProperties object <optional>

the optional properties definition

iconClass object <optional>

The icon class to build

Source:

Extends

  • BaseObjectSymbology

Members

children :Array.<BaseIconSymbology>

The children icons

Type:
  • Array.<BaseIconSymbology>
Source:

childrenCount :number

Children icons count

Type:
  • number
Source:

expanded :boolean

Symbol item is expanded

Type:
  • boolean
Source:

expanded :boolean

Set symbol item is expanded

Type:
  • boolean
Source:

Methods

(generator) getChildren() → {BaseIconSymbology}

Iterate through children icons

Source:
Yields:
The next child icon
Type
BaseIconSymbology