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

Improve map rotation/zoom behaviour #249

Open
cbalster opened this issue Apr 11, 2019 · 3 comments
Open

Improve map rotation/zoom behaviour #249

cbalster opened this issue Apr 11, 2019 · 3 comments

Comments

@cbalster
Copy link
Member

cbalster commented Apr 11, 2019

Currently when pinching/rotating the map it's not really possible to only zoom without also rotating the map. This does not feel ideal. Also a user reported that this might be problematic for people with dizziness.
Ideally the behavior would be similar to google maps, which seems to - within the first few pixels of touch - distinguishes between rotate and zoom and ignores rotation within a certain window while zooming.
Unfortunately doing this is not that simple due to the way gesture detection is implemented in osmdroid and might require quite a lot of work and should probably done directly in the osmdroid codebase.
Until then I see 2 options:

  1. find an easier workaround we can implement directly
    2) until then add an option to disable map rotation completely see Make rotation optional #258
@zutrinken
Copy link
Member

Agree. We could also disable rotation for the moment completely without an extra setting. You can still rotate your device 🙃

@cbalster
Copy link
Member Author

cbalster commented Apr 11, 2019 via email

@dreua
Copy link

dreua commented May 23, 2019

I'd also like single handed zoom gestures like in Google Maps and maps.me:
Tap + Drag up: Zoom Out
Tap + Drag down: Zoom In

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

No branches or pull requests

3 participants