✨ Features and improvements
- ⚠️ All map events are now real classes that are instantiated when they are fired. Renamed
MapLibreZoomEventtoMapBoxZoomEvent, added therollstart/roll/rollendandstyle.load(asMapStyleLoadEvent) events toMapEventType, and added event classes and type-map forMarker,Popup,GeolocateControlandFullscreenControl. RemovedMapDataEvent: thedata/dataloading/dataabortevents are nowMapSourceDataEvent | MapStyleDataEvent, so source data events carry the full source info (sourceId,tile,sourceDataType, …). AddedMapMovementEventas the type for all camera-transition events (move/zoom/rotate/pitch/roll/dragand theirstart/endvariants).Eventedis now generic over an event-type map (Evented<EventType>) and isabstract, so subclasses get strongly-typedon/once/offautomatically without re-declaring overloads — this also types the events onCamera/Style(viaMapEventType) and on the sources (via the newSourceEventType) (#7789) (by @HarelM)