Constructor
(abstract) new AbstractLayerRelatedControl(options)
Creates a new abstract layer related control
Parameters:
Name | Type | Description |
---|---|---|
options |
LayerRelatedControlOptions | The options |
Extends
- module:ol.control.Control
Members
layersFromMap
Methods
(abstract) handleLayerInteraction(e)
Handles the layer interaction
Parameters:
Name | Type | Description |
---|---|---|
e |
LayerActionEventArgs | The event arguments |
onLayerInteractionAdded(options)
Called when an layer interaction was added
Parameters:
Name | Type | Description |
---|---|---|
options |
RegisterListenerOptions | The options |
(abstract) registerListener(options)
Registers the listener
Parameters:
Name | Type | Description |
---|---|---|
options |
RegisterListenerOptions |
setMap()
(abstract) unregisterListener(options)
Unregisters the listener
Parameters:
Name | Type | Description |
---|---|---|
options |
UnregisterListenerOptions |