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

Double tap + drag to zoom in/out #17

Open
flavioarfaria opened this issue Oct 26, 2012 · 3 comments
Open

Double tap + drag to zoom in/out #17

flavioarfaria opened this issue Oct 26, 2012 · 3 comments

Comments

@flavioarfaria
Copy link

Recently, Google Maps app added a feature that allows users to tap the map twice and drag the finger (keeping the finger on screen after the second tap) to zoom in/out. It enables users to use the map app with one hand only, since pinch-to-zoom is not a straightforward gesture to be performed when using only one hand.

@cyrilmottier
Copy link
Owner

Yes, I know about this new gesture. I would love to have it in Polaris. Unfortunately, technical limitations makes it impossible. In order to do so we would need to be able to zoom in/out in at non-discrete levels, which is impossible using MapView.

If you have a solution I'd be happy to hear it. Otherwise, I will close no choice but to close this issue as "Not implementable" :(.

@flavioarfaria
Copy link
Author

I also know about this limitation, but I was considering having it working the same way pinch to zoom does. The more the user moves his finger away of the tap point, the more the value of the discrete zoom changes. Do you think it's a bad idea?

@cyrilmottier
Copy link
Owner

If you can have it working like it does in the Maps application, I would be pleased to merge your pull request :).

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

2 participants