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

gestureHandling and "touchZoom: off" option doesn't work together #87

Open
Elbargho opened this issue Jul 8, 2022 · 0 comments
Open

Comments

@Elbargho
Copy link

Elbargho commented Jul 8, 2022

On mobile, when moving the map with two fingers I get a strange unwanted behavior of the map getting dragged and zoomed at the same time.
I want to disable zooming the map when dragging it, so I tried to accomplish that the way doccumented in the official website of leafletjs which is using "touchZoom: off" option.
For some reason it's not working for me, when disabling touchZoom option the map isn't dragable anymore.
What is the correct way for fixing that?

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

No branches or pull requests

1 participant