From: Sarah Hoffmann Date: Sat, 26 Jan 2013 20:03:28 +0000 (+0100) Subject: remove OL touch controls X-Git-Tag: v2.2.0~131 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/db2cfd35030f04dabe230869952233fd65063643 remove OL touch controls They interfere with Shift-Zoom. --- diff --git a/lib/template/details-html.php b/lib/template/details-html.php index a38ee1bc..ba41b931 100644 --- a/lib/template/details-html.php +++ b/lib/template/details-html.php @@ -19,9 +19,6 @@ new OpenLayers.Control.Navigation(), new OpenLayers.Control.PanZoomBar(), new OpenLayers.Control.MousePosition(), - new OpenLayers.Control.TouchNavigation({ - dragPanOptions: { enableKinetic: true } - }), new OpenLayers.Control.Attribution()], maxExtent: new OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34), maxResolution: 156543.0399, diff --git a/lib/template/search-html.php b/lib/template/search-html.php index 75084c86..01647d91 100644 --- a/lib/template/search-html.php +++ b/lib/template/search-html.php @@ -112,10 +112,6 @@ new OpenLayers.Control.Navigation(), new OpenLayers.Control.PanZoomBar(), new OpenLayers.Control.MousePosition(), - new OpenLayers.Control.TouchNavigation({ - dragPanOptions: { enableKinetic: true } - }), - new OpenLayers.Control.Attribution()], maxExtent: new OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34), maxResolution: 156543.0399,