Legend
The Legend module offers legend images as supplied by OGC services via GetLegendGraphic and GetLegendURL calls.
Configuration
For details on the displayComponent attribute, refer to the Global Plugin Parameters section of @polar/core.
legend
| fieldName |
type |
description |
| icons |
Record<string, string>? |
Optional icon override. |
legend.icons
| fieldName |
type |
description |
| close |
string? |
Icon shown when pressing the button closes the legends. Defaults to 'fa-chevron-right'. |
| open |
string? |
Icon shown when pressing the button opens the legends. Defaults to 'fa-info'. |
Locales
| Locale Key |
German default |
English default |
| plugins.legend.title |
Legenden |
Legends |
| plugins.legend.legendTo |
Legendenbild zu "{{name}}" |
"{{name}}" legend image |
| plugins.legend.openLegendTo |
$t(plugins.legend.legendTo) öffnen |
Open $t(plugins.legend.legendTo) |
| plugins.legend.empty |
Keine Legende konfiguriert |
No legend configured |
| plugins.legend.button.closeTitle |
Legenden ausblenden |
Hide legends |
| plugins.legend.button.openTitle |
Legenden einblenden |
Show legends |