gws.plugin.legend.html¶
HTML legend.
Renders an HTML template to a PNG image, which is used as the legend.
Example:
legend {
type "html"
template {
type "html"
text "<p>Legend</p>"
}
}
Source code: gws.plugin.legend.html
Package Contents¶
- class gws.plugin.legend.html.Config¶
Bases:
gws.base.legend.ConfigLegend rendered from an HTML template.
- template: gws.ext.config.template¶
Template for the HTML legend.
- class gws.plugin.legend.html.Object¶
Bases:
gws.base.legend.ObjectHTML legend.
- template: gws.Template¶
Template for the legend.
- configure()¶
- render(args=None)¶