Reputation: 105
I'm working on a touch device and when the user zooms in which a pinch gesture, the page zooms in instead of the map.
I'm using a leaflet map with javascript.
Upvotes: 1
Views: 549
Reputation: 105
What worked for me was running Google Chrome in kiosk mode. In kiosk mode I set the parameter for --touch-events. After I tried this, I could zoom in and out without the page doing the same ting.
Upvotes: 0
Reputation: 118
One potential reason would be that the Map container may not have been active. Tap on the container and then try zooming in
Upvotes: 2