Orient rings in ol.geom.Polygon

This commit is contained in:
Tom Payne
2013-11-11 21:18:24 +01:00
parent 23777e5949
commit fe06c97a08

View File

@@ -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();
};