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
|
- 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