Fix map pan when touchZoom is disabled (#5952)

* fix map pan when touchZoom is disabled

* add pinch-zoom for non-ie

* add fallback for FF
This commit is contained in:
Andrew 2017-12-15 16:36:00 +01:00 committed by Per Liedman
parent e9ffabdd17
commit 2ce37c5771

5
dist/leaflet.css vendored
View File

@ -56,7 +56,10 @@
}
.leaflet-container.leaflet-touch-drag {
-ms-touch-action: pinch-zoom;
}
/* Fallback for FF which doesn't support pinch-zoom */
touch-action: none;
touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
-ms-touch-action: none;
touch-action: none;