On this page
Interface Control
Methods
onAdd
Method called when the control is added to the map.
Parameters
- map: Map
The map instance the control is being added to.
Returns HTMLElement
The HTMLElement representing the control.
- map: Map
onRemove
Method called when the control is removed from the map.
Parameters
- map: Map
The map instance the control is being removed from.
Returns void
- map: Map
Interface for creating custom map controls.