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:
Tim Schaub
2012-12-08 12:02:18 -08:00
+1 -1
View File
@@ -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)]
) )
); );
} }