[OpenLayers-Commits] r3129 - sandbox/crschmidt/georss-fixed/lib/OpenLayers/Format

commits at openlayers.org commits at openlayers.org
Fri May 4 10:24:45 EDT 2007


Author: crschmidt
Date: 2007-05-04 10:24:42 -0400 (Fri, 04 May 2007)
New Revision: 3129

Modified:
   sandbox/crschmidt/georss-fixed/lib/OpenLayers/Format/GeoRSS.js
Log:
Why can't we just live on a plane?


Modified: sandbox/crschmidt/georss-fixed/lib/OpenLayers/Format/GeoRSS.js
===================================================================
--- sandbox/crschmidt/georss-fixed/lib/OpenLayers/Format/GeoRSS.js	2007-05-04 14:06:17 UTC (rev 3128)
+++ sandbox/crschmidt/georss-fixed/lib/OpenLayers/Format/GeoRSS.js	2007-05-04 14:24:42 UTC (rev 3129)
@@ -97,10 +97,10 @@
         var path = "";
         if (points) {
             for (var i = 0; i < points.length; i++) {
-                path += points[i].x + " " + points[i].y + " ";
+                path += points[i].y + " " + points[i].x + " ";
             }
         } else {
-           path += geometry.x + " " + geometry.y + " ";
+           path += geometry.y + " " + geometry.x + " ";
         }
         return document.createTextNode(path);
     },



More information about the Commits mailing list