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:
parent
e9ffabdd17
commit
2ce37c5771
5
dist/leaflet.css
vendored
5
dist/leaflet.css
vendored
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user