OpenGeoscience / geojs

High-performance visualization and interactive data exploration of scientific and geospatial location aware datasets

Home Page:https://opengeoscience.github.io/geojs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

geo.event.actionwheel doesn't include wheel delta

sgratzl opened this issue · comments

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)

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

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.

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