Fix typo causing empty Polygon geometry
See OpenLayers issue 789, var 'points' needs to be passed, not 'components' at line 649.
This commit is contained in:
@@ -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)]
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user