Skip to content
New issue

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

Fix map.isMoving for drag-pan/rotate #4350

Merged
merged 1 commit into from
Mar 1, 2017
Merged

Fix map.isMoving for drag-pan/rotate #4350

merged 1 commit into from
Mar 1, 2017

Conversation

mourner
Copy link
Member

@mourner mourner commented Mar 1, 2017

Just something I noticed and fixed while hacking on custom GL layers. Continuation of #3941. Another way to do this would be to call dragPan/Rotate.isActive() in map.isMoving() implementation, but I think this way is clearer.

Note that we currently don't cover interaction handlers with unit tests so no changes on this front.

cc @stepankuzmin

@mourner mourner requested a review from lucaswoj March 1, 2017 17:36
@mourner mourner merged commit f44df00 into master Mar 1, 2017
@mourner mourner deleted the more-moving branch March 1, 2017 18:06
@stepankuzmin
Copy link
Contributor

Great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants