-
-
Notifications
You must be signed in to change notification settings - Fork 860
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
trigger event on scroll wheel #1182
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - haven't tested, but only small changes and doesn't appear to have any breaking consequences.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this looks good looking at the code, but I won't have chance to test it in the flesh until probably next weekend, but I'm happy to merge if someone else has.
I don't expect any issue between the 2 PR (except the merge conflict because there's a line that is changed on the 2 PR) |
happy to merge this I think, have tested it doesn't seem to break anything obvious...noting the question about PR 1191, not so familiar with merge conflicts (it currently says there aren't any...), does it matter which order they are merged in or anything ? |
@ibrierley It does depend on whichever gets merged first will cause a conflict in the other. |
Testing now... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, works as expected when tested. Will merge this before #1191.
Many thanks for your contribution @a14n. |
This PR adds a
MapEventScrollWheelZoom
event that is fired when a scroll wheel occurs. Currently no event is triggered on scroll wheel (and zoom change)