[OpenLayers-Commits] r2363 - sandbox/vector-2.4/lib/OpenLayers/Geometry

commits at openlayers.org commits at openlayers.org
Mon Mar 5 20:09:39 EST 2007


Author: euzuro
Date: 2007-03-05 20:09:39 -0500 (Mon, 05 Mar 2007)
New Revision: 2363

Modified:
   sandbox/vector-2.4/lib/OpenLayers/Geometry/Point.js
Log:
leverage already written code

Modified: sandbox/vector-2.4/lib/OpenLayers/Geometry/Point.js
===================================================================
--- sandbox/vector-2.4/lib/OpenLayers/Geometry/Point.js	2007-03-06 00:58:10 UTC (rev 2362)
+++ sandbox/vector-2.4/lib/OpenLayers/Geometry/Point.js	2007-03-06 01:09:39 UTC (rev 2363)
@@ -87,7 +87,7 @@
      * @type String
      */
     toString: function() {
-	   return this.x + "," + this.y;
+	   return this.toShortString();
     },
 
     /** @final @type String */



More information about the Commits mailing list