[OpenLayers-Commits] r11850 - trunk/openlayers/lib/OpenLayers/Handler

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Thu Mar 31 18:02:49 EDT 2011


Author: tschaub
Date: 2011-03-31 15:02:46 -0700 (Thu, 31 Mar 2011)
New Revision: 11850

Modified:
   trunk/openlayers/lib/OpenLayers/Handler/Path.js
   trunk/openlayers/lib/OpenLayers/Handler/Point.js
Log:
Documentation fixes from jorix (thanks).  (closes #3234)

Modified: trunk/openlayers/lib/OpenLayers/Handler/Path.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Handler/Path.js	2011-03-31 21:00:03 UTC (rev 11849)
+++ trunk/openlayers/lib/OpenLayers/Handler/Path.js	2011-03-31 22:02:46 UTC (rev 11850)
@@ -262,8 +262,8 @@
     },
 
     /**
-     * Method: mousedown
-     * Handle mouse down.  Add a new point to the geometry and
+     * Method: down
+     * Handle mousedown and touchstart.  Add a new point to the geometry and
      * render it. Return determines whether to propagate the event on the map.
      * 
      * Parameters:
@@ -287,8 +287,8 @@
     },
 
     /**
-     * Method: mousemove
-     * Handle mouse move.  Adjust the geometry and redraw.
+     * Method: move
+     * Handle mousemove and touchmove.  Adjust the geometry and redraw.
      * Return determines whether to propagate the event on the map.
      * 
      * Parameters:
@@ -312,8 +312,8 @@
     },
     
     /**
-     * Method: mouseup
-     * Handle mouse up.  Send the latest point in the geometry to
+     * Method: up
+     * Handle mouseup and touchend.  Send the latest point in the geometry to
      * the control. Return determines whether to propagate the event on the map.
      * 
      * Parameters:

Modified: trunk/openlayers/lib/OpenLayers/Handler/Point.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Handler/Point.js	2011-03-31 21:00:03 UTC (rev 11849)
+++ trunk/openlayers/lib/OpenLayers/Handler/Point.js	2011-03-31 22:02:46 UTC (rev 11850)
@@ -475,8 +475,8 @@
     },
   
     /**
-     * Method: mousedown
-     * Handle mouse down.  Adjust the geometry and redraw.
+     * Method: down
+     * Handle mousedown and touchstart.  Adjust the geometry and redraw.
      * Return determines whether to propagate the event on the map.
      * 
      * Parameters:
@@ -496,8 +496,8 @@
     },
 
     /**
-     * Method: mousemove
-     * Handle mouse move.  Adjust the geometry and redraw.
+     * Method: move
+     * Handle mousemove and touchmove.  Adjust the geometry and redraw.
      * Return determines whether to propagate the event on the map.
      * 
      * Parameters:
@@ -515,8 +515,8 @@
     },
 
     /**
-     * Method: mouseup
-     * Handle mouse up.  Send the latest point in the geometry to the control.
+     * Method: up
+     * Handle mouseup and touchend.  Send the latest point in the geometry to the control.
      * Return determines whether to propagate the event on the map.
      *
      * Parameters:



More information about the Commits mailing list