Not all the events from Mapbox implement the EventedEvent interface. This interface exists so that such events can be extended so that the event argument in the listener has the missing properties.
event
Mapbox Evented
The event type or name.
The type of the Mapbox control that raised the event.
The Mapbox control that raised the event.
The event name.
Not all the events from Mapbox implement the EventedEvent interface. This interface exists so that such events can be extended so that the
event
argument in the listener has the missing properties.See
Mapbox Evented