[OpenLayers-Commits] r3126 - sandbox/crschmidt/georss-fixed/lib/OpenLayers/Format
commits at openlayers.org
commits at openlayers.org
Fri May 4 09:54:06 EDT 2007
Author: crschmidt
Date: 2007-05-04 09:54:05 -0400 (Fri, 04 May 2007)
New Revision: 3126
Modified:
sandbox/crschmidt/georss-fixed/lib/OpenLayers/Format/GeoRSS.js
Log:
Fix GeoRSS serializer.
Modified: sandbox/crschmidt/georss-fixed/lib/OpenLayers/Format/GeoRSS.js
===================================================================
--- sandbox/crschmidt/georss-fixed/lib/OpenLayers/Format/GeoRSS.js 2007-05-04 13:53:00 UTC (rev 3125)
+++ sandbox/crschmidt/georss-fixed/lib/OpenLayers/Format/GeoRSS.js 2007-05-04 13:54:05 UTC (rev 3126)
@@ -97,10 +97,10 @@
var path = "";
if (points) {
for (var i = 0; i < points.length; i++) {
- path += points[i].lat + " " + points[i].lon + " ";
+ path += points[i].x + " " + points[i].y + " ";
}
} else {
- path += geometry.lat + " " + geometry.lon + " ";
+ path += geometry.x + " " + geometry.y + " ";
}
return document.createTextNode(path);
},
More information about the Commits
mailing list