diff --git a/src/ui/handler/scroll_zoom.js b/src/ui/handler/scroll_zoom.js index 64203c55c12..3d8dc276d88 100644 --- a/src/ui/handler/scroll_zoom.js +++ b/src/ui/handler/scroll_zoom.js @@ -251,8 +251,8 @@ class ScrollZoomHandler { if (!this.isActive()) return; this._active = false; this._finishTimeout = setTimeout(() => { - this._map.fire(new Event('zoomend')); - this._map.fire(new Event('moveend')); + this._map.fire(new Event('zoomend', {originalEvent: this._lastWheelEvent})); + this._map.fire(new Event('moveend', {originalEvent: this._lastWheelEvent})); delete this._targetZoom; }, 200); }