Reputation: 623
Is it possible to make it so you can only zoom in and out by using the zoom buttons as opposed to been able to pinch the screen? Perhaps only sensing one touch at a time or something similar?
Upvotes: 0
Views: 49
Reputation: 19059
The solution is right there in the Leaflet documentation: simply set the map option touchZoom
to false
when instantiating the map.
Upvotes: 2