Merge pull request #790 from justb4/master
Atom.js: typo in Polygon parsing causes empty GeoRSS Polygon geometry (closes #789)
This commit is contained in:
@@ -646,7 +646,7 @@ OpenLayers.Format.Atom = OpenLayers.Class(OpenLayers.Format.XML, {
|
|||||||
}
|
}
|
||||||
components.push(
|
components.push(
|
||||||
new OpenLayers.Geometry.Polygon(
|
new OpenLayers.Geometry.Polygon(
|
||||||
[new OpenLayers.Geometry.LinearRing(components)]
|
[new OpenLayers.Geometry.LinearRing(points)]
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user