react-google-maps icon indicating copy to clipboard operation
react-google-maps copied to clipboard

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

Open am-zhang opened this issue 1 year ago • 1 comments

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")

am-zhang avatar Apr 26 '24 20:04 am-zhang

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 avatar Apr 30 '24 09:04 usefulthink