QWC Legend Service
Type: objectJSON Schema
Type: stringFormat: uri Default: "https://raw.githubusercontent.com/qwc-services/qwc-legend-service/v2/schemas/qwc-legend-service.json"Reference to JSON schema of this config
Service name
Type: constSpecific value:
"legend"
Config options
Type: objectDefault base URL for forwarding WMS GetLegendGraphics requests
Default font size for GetLegendGraphic request
Path to legend images (required if using 'legend_image')
Resources
Type: objectWMS services
Type: array of objectNo Additional Items
Each item of this array must be:
WMS service
Type: objectWMS service with nested layers and group layers
WMS service name
Root layer of WMS (layer or group layer)
Single layer
No Additional PropertiesWMS layer name
Layer type
Specific value:"layer"
Legend image path relative to 'legendimagespath'
Legend image in Base64 encoding
Group layer with nested sublayers
No Additional PropertiesWMS group layer name
Layer type
Specific value:"layergroup"
Sublayers of this group layer (layers or group layers)
No Additional ItemsEach item of this array must be:
Hide sublayers of this group layer if set, to make the group layer look like a regular layer (Facade layer)
Legend image path relative to 'legendimagespath' (only if hide_sublayers is set)
Legend image in Base64 encoding (only if hide_sublayers is set)