From b08b9568941b5727a36c1f2b8fdc1626e14e3061 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Thu, 15 Sep 2011 15:40:50 +0000 Subject: [PATCH] Enabling kinetic dragging on the mobile draw example. git-svn-id: http://svn.openlayers.org/trunk/openlayers@12371 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- examples/mobile-drawing.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/mobile-drawing.js b/examples/mobile-drawing.js index 3de462b380..34b26ec30f 100644 --- a/examples/mobile-drawing.js +++ b/examples/mobile-drawing.js @@ -48,7 +48,11 @@ function init() { -20037508.34, -20037508.34, 20037508.34, 20037508.34 ), controls: [ - new OpenLayers.Control.TouchNavigation(), + new OpenLayers.Control.TouchNavigation({ + dragPanOptions: { + enableKinetic: true + } + }), new OpenLayers.Control.ZoomPanel(), toolbar ],