Update GeoRSS serialization so that it works. Damn you, lat/lon! Closes #695.

Thx for review Tim.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@3132 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2007-05-04 14:35:48 +00:00
parent 4b599da130
commit bdab3adb29
3 changed files with 6 additions and 6 deletions

View File

@@ -97,10 +97,10 @@ OpenLayers.Format.GeoRSS.prototype =
var path = "";
if (points) {
for (var i = 0; i < points.length; i++) {
path += points[i].lat + " " + points[i].lon + " ";
path += points[i].y + " " + points[i].x + " ";
}
} else {
path += geometry.lat + " " + geometry.lon + " ";
path += geometry.y + " " + geometry.x + " ";
}
return document.createTextNode(path);
},