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

[Feat] Add support for the mobile gesture double tap + hold + drag up/down to zoom #326

Open
am-zhang opened this issue Apr 26, 2024 · 1 comment
Labels
idea Neat Idea

Comments

@am-zhang
Copy link

am-zhang commented Apr 26, 2024

Target Use Case

Allow mobile users to zoom in/out on the map by double tapping + dragging up/down.

Just wondering if there's any chance this feature could be implemented in the future? If it already exists and I missed it in the documentation, let me know :)

Proposal

This feature exists in Google Maps and Apple Maps, ex:
https://support.google.com/maps/answer/6396990?hl=en&co=GENIE.Platform%3DAndroid (under "Zoom in the map")

@usefulthink
Copy link
Collaborator

I don't think the maps JS API has this behaviour, so the request would best be directed at the google maps issue tracker. It could probably be implemented based on touch- or pointer-events, but for single touch, it would be difficult to separate touch events from other pointer events.

If there's a good implementation of this, we could think about integrating that into this library.

@usefulthink usefulthink added the idea Neat Idea label Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idea Neat Idea
Projects
None yet
Development

No branches or pull requests

2 participants