Don't automatically orient rings in ol.geom.MultiPolygon

This commit is contained in:
Tom Payne
2014-01-21 07:51:06 +01:00
parent 6552046aa0
commit 8e372f8db0
2 changed files with 1 additions and 4 deletions

View File

@@ -396,9 +396,8 @@ describe('ol.interaction.Draw', function() {
var coordinates = geometry.getCoordinates();
expect(coordinates).to.have.length(1);
// note that order is forced clockwise (despite drawing counter-clockwise)
expect(coordinates[0]).to.eql([
[[10, -20], [30, -10], [30, -20], [10, -20]]
[[10, -20], [30, -20], [30, -10], [10, -20]]
]);
});