Orient rings in ol.geom.Polygon
This commit is contained in:
1 parent
23777e5949
commit
fe06c97a08
1 file changed
+2
@@ -69,5 +69,7 @@ ol.geom.Polygon.prototype.setCoordinates =
|
||||
this.setLayout(opt_layout, coordinates, 2);
|
||||
ol.geom.deflateCoordinatess(
|
||||
this.flatCoordinates, 0, coordinates, this.stride, this.ends_);
|
||||
ol.geom.orientFlatLinearRings(
|
||||
this.flatCoordinates, 0, this.ends_, this.stride);
|
||||
this.dispatchChangeEvent();
|
||||
};
|
||||
Reference in new issue
Block a user