X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/d76eca32f4c96f5725877aec555c7352a8452ba2..79d4db5db6253d67412769448ea94736d0e0997e:/lib/template/details-html.php diff --git a/lib/template/details-html.php b/lib/template/details-html.php index b56f3989..a38ee1bc 100644 --- a/lib/template/details-html.php +++ b/lib/template/details-html.php @@ -18,8 +18,10 @@ new OpenLayers.Control.Permalink(), 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,