mapbox-gl-js version:
When call map.isMoving() during zoomIn or zoomOut, the result is always false.
javascript
setInterval(() => { console.log(map.isMoving()); });
false.true
false
But seems It works well in v0.44.1.
Also, the mapbox version in the examples on the Mapbox website seesm to be wrong.
The Mapbox website uses v0.44.2, but cannot use Map.isZooming() (added in https://github.com/mapbox/mapbox-gl-js/commit/c0158855ddfa34f4706c5190e6d3da3972e1b901)
0.44.2 doesn't include c0158855ddfa34f4706c5190e6d3da3972e1b901:

When scrolling with the Apple Magic mouse map#isMoving result always false 🆘
@jfirebaugh
I wonder if this is a bug..
I want to know the status when I zoom in with the Apple Magic mouse or trackpad. Is there a way? 😞
This has been fixed by https://github.com/mapbox/mapbox-gl-js/pull/9365. If you have a chance to test and confirm, that would be great! The fix is in master and will be released in a beta release tomorrow.
@ansis Thank you for not forgetting to fix :D
Most helpful comment
0.44.2 doesn't include c0158855ddfa34f4706c5190e6d3da3972e1b901: