X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/3dba772852378683e864feab37f5a74b803e6030..1d836f6c5ccee069fd41137af1c0fef8d65f48f9:/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,