Don't automatically orient rings in ol.geom.MultiPolygon
This commit is contained in:
1 parent
6552046aa0
commit
8e372f8db0
2 files changed
+1
-4
No files matched your search
@@ -196,8 +196,6 @@ ol.geom.MultiPolygon.prototype.setCoordinates =
|
||||
var lastEnds = endss[endss.length - 1];
|
||||
this.flatCoordinates.length = lastEnds.length === 0 ?
|
||||
0 : lastEnds[lastEnds.length - 1];
|
||||
ol.geom.flat.orientLinearRingss(
|
||||
this.flatCoordinates, 0, this.endss_, this.stride);
|
||||
this.dispatchChangeEvent();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user