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