Objects that implement this interface will have events connected to the underlying Mapbox control that raises the events defined by the EventTypes generic.
EventTypes
The types of events.
Optional
A collection of handlers for events with names defined by the EventTypes generic.
on: { click: evt => console.log(evt), drag: evt => console.log(evt)}; Copy
on: { click: evt => console.log(evt), drag: evt => console.log(evt)};
Generated using TypeDoc
Objects that implement this interface will have events connected to the underlying Mapbox control that raises the events defined by the
EventTypes
generic.