Commit 0dd21389 authored by Davide Depau's avatar Davide Depau

Disable map dragging on touchscreen devices

parent fbd01b6c
......@@ -8,6 +8,8 @@
zoom: 19,
scrollWheelZoom: false,
zoomControl: false
dragging: false,
tap: false
});
var layer = L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
attribution: '© <a href="https://www.openstreetmap.org/copyright" target="_blank">OpenStreetMap</a> contributors',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment