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

Support for mobile zoom gesture double tap + hold + move up/down #1353

Closed
Antje3 opened this issue Feb 15, 2021 · 1 comment
Closed

Support for mobile zoom gesture double tap + hold + move up/down #1353

Antje3 opened this issue Feb 15, 2021 · 1 comment

Comments

@Antje3
Copy link
Contributor

Antje3 commented Feb 15, 2021

I am looking for a way to support the mobile zoom gesture where you double tap on the map, hold, and move up or down to zoom. Mapbox GL itself supports this (touchZoomRotate in the Map Parameter Options).

I tried setting the value for the InteractiveMap via the mapOptions, but this did not work: mapOptions={{ touchZoomRotate: true }}.
As far as I could find, you implement all zooming yourselves, so setting it via the mapOptions probably gets overwritten?

I also saw a deprecation warning for touchZoomRotate, but the suggested touchZoom and touchRotate do not provide the required zoom gesture.

Am I overlooking something, and if not, do you plan to support this feature in the future? Thanks!

@Pessimistress
Copy link
Collaborator

This is being addressed in v7.0. Please follow #1646

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