/ui/layers/legends/basic
The basic theme legend module exports the basicTheme to the ui.layers.legend{}
library object.
Requires
Methods
(inner) basicTheme(layer) → {HTMLElement}
The basicTheme method creates and returns a basic theme legend for the current layer.style.theme.
Parameters:
Name | Type | Description |
---|---|---|
layer | layer | The decorated mapp layer. |
Returns:
The categorized theme legend element.
- Type:
- HTMLElement