gws.plugin.legend.combined

Combined legend.

Renders the legends of several layers, given by layerUids, and combines them into one image. Layers that are not found or have no legend are skipped.

Example:

legend {
    type "combined"
    layerUids ["layer_1", "layer_2"]
}

Source code: gws.plugin.legend.combined

Package Contents

class gws.plugin.legend.combined.Config

Bases: gws.base.legend.Config

Legend combining the legends of several layers.

layerUids: list[str]

UIDs of the layers whose legends are combined.

class gws.plugin.legend.combined.Object

Bases: gws.base.legend.Object

Combined legend.

layerUids: list[str]

UIDs of the layers whose legends are combined.

configure()
render(args=None)