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

geo.event.actionwheel doesn't include wheel delta #1024

Closed
sgratzl opened this issue Sep 10, 2019 · 4 comments · Fixed by #1030
Closed

geo.event.actionwheel doesn't include wheel delta #1024

sgratzl opened this issue Sep 10, 2019 · 4 comments · Fixed by #1030

Comments

@sgratzl
Copy link

sgratzl commented Sep 10, 2019

I tried to use the geo.event.actionwheel to capture the mouse wheel event. However, the event doesn't provide the deltaX and deltaY information as provided by the MouseWheel event (https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent)

@manthey
Copy link
Contributor

manthey commented Sep 10, 2019

The action events are abstract events that are generated from other events. Does the geo.event.pan event contain the information you need?

@sgratzl
Copy link
Author

sgratzl commented Sep 11, 2019

No, cause I'm not looking for the shifted delta when moving the view but the mouse wheel delta. So, how much the user rotated the mouse wheel and in which direction.

@manthey
Copy link
Contributor

manthey commented Sep 16, 2019

@sgratzl The action wheel event was intended to expose this data, but there was a bug that prevented it (fix in #1030).

@sgratzl
Copy link
Author

sgratzl commented Sep 16, 2019

thx

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 a pull request may close this issue.

2 participants