[OpenLayers-Commits] r11224 - trunk/openlayers/examples

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Tue Feb 22 05:36:38 EST 2011


Author: erilem
Date: 2011-02-22 02:36:38 -0800 (Tue, 22 Feb 2011)
New Revision: 11224

Modified:
   trunk/openlayers/examples/mobile.js
Log:
use the touch navigation control in the mobile examples, no functional change

Modified: trunk/openlayers/examples/mobile.js
===================================================================
--- trunk/openlayers/examples/mobile.js	2011-02-22 10:33:33 UTC (rev 11223)
+++ trunk/openlayers/examples/mobile.js	2011-02-22 10:36:38 UTC (rev 11224)
@@ -19,7 +19,7 @@
             -20037508.34, -20037508.34, 20037508.34, 20037508.34
         ),
         controls: [
-            new OpenLayers.Control.Navigation({dragPanOptions: {enableKinetic: true}}),
+            new OpenLayers.Control.TouchNavigation({dragPanOptions: {enableKinetic: true}}),
             new OpenLayers.Control.Attribution(),
             new OpenLayers.Control.DrawFeature(
                 vector, OpenLayers.Handler.Point, {id: "point-control"}



More information about the Commits mailing list