-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Feature request: Horizontal scrolling #7134
Comments
@thibaultmol Hmm scroll-to-pan already works on many devices. Perhaps this is #6598? |
Just tried it on my windows pc with chrome stable. Also doesn't work. Example code: It can be implemented using 'wheelDeltaX', see this documentation: https://developer.mozilla.org/en-US/docs/Web/API/Element/mousewheel_event |
I tried this suggestion out today (in the It also doesn't help that the regular "Y" scroll wheel has a different functionality already which means that in order to navigate the map using the horizontal "X" scroll wheel alone requires the use of modifier keys (which feels also quite clumsy). @thibaultmol: Did you have a specific use case in mind for panning via the horizontal scroll wheel, which I'm not seeing at the moment? Otherwise, I think there are better ways to utilize the horizontal scroll wheel in iD, for example to cycle through different background layers, cycle through the nodes of a way and/or to nudge/scale the position of existing features. |
I had a while where I accidentally moved objects while panning by just dragging. Problem is, I don't know where my MX Master is, so i can't actually test this branch atm. (If you think it's not a good addition to iD, then I guess you could close the issue for now (I can always reopen it when I get my hands on a mouse again with and extra scroll wheel like that... I'm sure the MX Master is lying around here somehwere... we'll find it.. XD) |
Hi,
I recently realized that being able to move the slippy map using the horizontal scrollwheel that a lot of mice have these days, could be useful.
I imagine using it like this:
Horizontal scrolling: moves the map horizontally.
SHIFT + Horizontal scrolling: moves the map vertically
(right now horizontal scrolling doesn't do anything in the editor it seems)
Cheers,
Thibault
The text was updated successfully, but these errors were encountered: