From db2cfd35030f04dabe230869952233fd65063643 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Sat, 26 Jan 2013 21:03:28 +0100 Subject: [PATCH] remove OL touch controls They interfere with Shift-Zoom. --- lib/template/details-html.php | 3 --- lib/template/search-html.php | 4 ---- 2 files changed, 7 deletions(-) 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,