Objects that implement this interface will have events connected to the
underlying Mapbox control that raises the events defined by the EventTypes
generic.
interface OnEvents<EventTypes>{ on?: { [Property in string | number | symbol]?: ((evt) => void) | ((evt) => any) }; }
Objects that implement this interface will have events connected to the underlying Mapbox control that raises the events defined by the
EventTypes
generic.