Orient rings in MultiPolygons

This commit is contained in:
Tom Payne
2013-11-12 01:08:15 +01:00
parent af17797145
commit 7e40825869

View File

@@ -69,5 +69,7 @@ ol.geom.MultiPolygon.prototype.setCoordinates =
this.setLayout(opt_layout, coordinates, 3);
ol.geom.deflateCoordinatesss(
this.flatCoordinates, 0, coordinates, this.stride, this.endss_);
ol.geom.orientFlatLinearRingss(
this.flatCoordinates, 0, this.endss_, this.stride);
this.dispatchChangeEvent();
};