Constructor
new LegendDisplayable(options)
Creates a new control that connects layer visiblity with HTML elements
Parameters:
Name | Type | Description |
---|---|---|
options |
LegendDisplayableOptions | The options |
- Source:
Extends
Members
layersFromMap
- Overrides:
- Source:
Methods
handleLayerInteraction(e)
Handles the layer interaction
Parameters:
Name | Type | Description |
---|---|---|
e |
LayerActionEventArgs | The event arguments |
- Overrides:
- Source:
onLayerInteractionAdded(options)
Called when an layer interaction was added
Parameters:
Name | Type | Description |
---|---|---|
options |
RegisterListenerOptions | The options |
- Overrides:
- Source:
registerListener(options)
Registers the listener
Parameters:
Name | Type | Description |
---|---|---|
options |
RegisterListenerOptions |
- Overrides:
- Source:
setMap()
- Inherited From:
- Source:
unregisterListener(options)
Unregisters the listener
Parameters:
Name | Type | Description |
---|---|---|
options |
UnregisterListenerOptions |