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:
@@ -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);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user