Orient rings in MultiPolygons
This commit is contained in:
@@ -69,5 +69,7 @@ ol.geom.MultiPolygon.prototype.setCoordinates =
|
|||||||
this.setLayout(opt_layout, coordinates, 3);
|
this.setLayout(opt_layout, coordinates, 3);
|
||||||
ol.geom.deflateCoordinatesss(
|
ol.geom.deflateCoordinatesss(
|
||||||
this.flatCoordinates, 0, coordinates, this.stride, this.endss_);
|
this.flatCoordinates, 0, coordinates, this.stride, this.endss_);
|
||||||
|
ol.geom.orientFlatLinearRingss(
|
||||||
|
this.flatCoordinates, 0, this.endss_, this.stride);
|
||||||
this.dispatchChangeEvent();
|
this.dispatchChangeEvent();
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user