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

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Tue Feb 22 16:25:35 EST 2011


Author: erilem
Date: 2011-02-22 13:25:35 -0800 (Tue, 22 Feb 2011)
New Revision: 11262

Modified:
   trunk/openlayers/examples/mobile-navigation.html
Log:
better descriptions for the mobile-navigation example, no functional change

Modified: trunk/openlayers/examples/mobile-navigation.html
===================================================================
--- trunk/openlayers/examples/mobile-navigation.html	2011-02-22 21:21:31 UTC (rev 11261)
+++ trunk/openlayers/examples/mobile-navigation.html	2011-02-22 21:25:35 UTC (rev 11262)
@@ -11,20 +11,36 @@
     <script type="text/javascript" src="mobile-navigation.js"></script>
   </head>
   <body onload="init()">
-    <h1 id="title">TouchNavigation Control</h1>
+    <h1 id="title">Mobile Navigation</h1>
 
     <div id="tags">
         mobile, touch, drag, move, zoom, navigate
     </div>
 
-    <div id="shortdesc">Demonstrate TouchNavigation Control features</div>
+    <div id="shortdesc">Demonstrate map navigation on mobile</div>
 
     <div id="map" class="smallmap"></div>
     <div id="docs">
+
         <p>
-            This example demonstrates a couple features of the TouchNavigation
-            control. The TouchNavigation control controls most map dragging,
-            movement, zooming, etc, optimized for mobile devices.
+            This example demonstates what OpenLayers provides for map
+            navigation on mobile.
+        </p>
+
+        <p>
+            The TouchNavigation control allows to pan the map with touch
+            gestures on the screen &ndash; "touchstart", "touchmove",
+            "touchend" sequences. It also allows to zoom in with double taps,
+            and to zoom out with two-finger single taps. The latter is only
+            available on devices supporting multi-touch. Note that in most
+            devices Android doesn't support multi-touch in the browser.
+        </p>
+
+        <p>
+            The ZoomPanel control provides + and - buttons for zooming in and
+            out. These buttons should work on any device, and the zoom out
+            button is especially needed for devices that don't support
+            multi-touch.
         </p> 
         <p>
             See the <a href="mobile-navigation.js" target="_blank">mobile-navigation.js



More information about the Commits mailing list