gws.plugin.legend.static

Static legend.

Uses an image file as the legend.

Example:

legend {
    type "static"
    path "/data/legend.png"
}

Source code: gws.plugin.legend.static

Package Contents

class gws.plugin.legend.static.Config

Bases: gws.base.legend.Config

Legend from a static image file.

path: gws.FilePath

Path to the legend image file.

class gws.plugin.legend.static.Object

Bases: gws.base.legend.Object

Static legend.

path: str

Path to the image file.

configure()
render(args=None)