diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-12-09 16:30:07 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-12-09 16:34:55 +0000 |
commit | e21a1886027956c45daed48edda7035719bcdf13 (patch) | |
tree | 0e915bbc38bac88216a1d0c4b886b8881371ceb0 /web/js/OpenLayers/theme | |
parent | 68ed4f77d2e7561351ded8113dffc27a6ce94800 (diff) |
Manual OpenLayers patch for pointer event dragging
Thanks to Dave Tapuska and Chrome team:
https://bugs.chromium.org/p/chromium/issues/detail?id=670942
https://github.com/openlayers/ol2/issues/1510
Diffstat (limited to 'web/js/OpenLayers/theme')
-rw-r--r-- | web/js/OpenLayers/theme/default/style.css | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web/js/OpenLayers/theme/default/style.css b/web/js/OpenLayers/theme/default/style.css index cbed84e8c..cefab060b 100644 --- a/web/js/OpenLayers/theme/default/style.css +++ b/web/js/OpenLayers/theme/default/style.css @@ -3,11 +3,12 @@ div.olMap { padding: 0 !important; margin: 0 !important; cursor: default; + -ms-touch-action: none; + touch-action: none; } div.olMapViewport { text-align: left; - -ms-touch-action: none; } div.olLayerDiv { |