We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DragPanHandler, DragRotateHandler, and ScrollZoomHandler each set and unset map.moving independently. But zooms and drags can interleave:
DragPanHandler
DragRotateHandler
ScrollZoomHandler
map.moving
dragstart
zoomstart
zoomend
dragend
In this scenario, map.isMoving() will return false between 3 and 4. It should return true.
map.isMoving()
false
true
The text was updated successfully, but these errors were encountered:
We should compute isMoving(), isZooming(), etc using handler isActive() methods rather than with additional (duplicate) state.
isMoving()
isZooming()
isActive()
Sorry, something went wrong.
jfirebaugh
No branches or pull requests
DragPanHandler
,DragRotateHandler
, andScrollZoomHandler
each set and unsetmap.moving
independently. But zooms and drags can interleave:dragstart
zoomstart
zoomend
dragend
In this scenario,
map.isMoving()
will returnfalse
between 3 and 4. It should returntrue
.The text was updated successfully, but these errors were encountered: