diff --git a/lib/OpenLayers/Format/Atom.js b/lib/OpenLayers/Format/Atom.js index 7f6aaa1f6d..a36a2b4b0e 100644 --- a/lib/OpenLayers/Format/Atom.js +++ b/lib/OpenLayers/Format/Atom.js @@ -646,7 +646,7 @@ OpenLayers.Format.Atom = OpenLayers.Class(OpenLayers.Format.XML, { } components.push( new OpenLayers.Geometry.Polygon( - [new OpenLayers.Geometry.LinearRing(components)] + [new OpenLayers.Geometry.LinearRing(points)] ) ); }