X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/4f49ef07e653e91fae3a75976074833905c79aa8..5502c223756ed755edae9670497f1456e528d3f0:/lib/template/search-html.php?ds=sidebyside diff --git a/lib/template/search-html.php b/lib/template/search-html.php index 07c26be1..75084c86 100644 --- a/lib/template/search-html.php +++ b/lib/template/search-html.php @@ -111,8 +111,11 @@ controls:[ new OpenLayers.Control.Navigation(), new OpenLayers.Control.PanZoomBar(), - new OpenLayers.Control.MouseDefaults(), 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, @@ -153,7 +156,7 @@