Module: SymbologyState

Classes

BaseIconSymbology
BaseObjectSymbology
BaseSymbolsSymbology
LayerGroupSymbology
LayerIconSymbology
LayerSymbolsSymbology
SymbolIconSymbology
SymbolRuleSymbology

Members

(static, constant) base64png :string

The started base 64 string for PNG image
Type:
  • string
Source:

(static, constant) base64pngNullData :string

The base 64 string for transparent PNG image
Type:
  • string
Source:

(static, constant) base64svg :string

The started base 64 string for SVG image
Type:
  • string
Source:

(static, constant) base64svgLineLayer :string

The base 64 string for https://raw.githubusercontent.com/qgis/QGIS/master/images/themes/default/mIconLineLayer.svg SVG image
Type:
  • string
Source:

(static, constant) base64svgOlLayer :string

The base 64 string for https://openlayers.org/theme/img/logo-dark.svg SVG image
Type:
  • string
Source:

(static, constant) base64svgPointLayer :string

The base 64 string for https://raw.githubusercontent.com/qgis/QGIS/master/images/themes/default/mIconPointLayer.svg SVG image
Type:
  • string
Source:

(static, constant) base64svgPolygonLayer :string

The base 64 string for https://raw.githubusercontent.com/qgis/QGIS/master/images/themes/default/mIconPolygonLayer.svg SVG image
Type:
  • string
Source:

(static, constant) base64svgRasterLayer :string

The base 64 string for https://raw.githubusercontent.com/qgis/QGIS/master/images/themes/default/mIconRasterLayer.svg SVG image
Type:
  • string
Source:

Methods

(static) buildLayerSymbology(node) → {LayerIconSymbology|LayerSymbolsSymbology|LayerGroupSymbology}

Build layer symbology
Parameters:
Name Type Description
node object | LayerIconSymbology | LayerSymbolsSymbology | LayerGroupSymbology The symbology node
Source:
Returns:
The layer symbology
Type
LayerIconSymbology | LayerSymbolsSymbology | LayerGroupSymbology

(static) getDefaultLayerIcon(layerCfg) → (nullable) {string}

Parameters:
Name Type Description
layerCfg LayerConfig The layer config for which getting default icon
Source:
Returns:
The default layer icon as base 64 string image
Type
string