Move ol.geom.orientFlatLinearRings into ol.geom.flat

This commit is contained in:
Tom Payne
2013-11-12 12:52:45 +01:00
parent 0aa0cfd54b
commit df423fda22
4 changed files with 44 additions and 44 deletions

View File

@@ -70,7 +70,7 @@ ol.geom.Polygon.prototype.setCoordinates =
this.setLayout(opt_layout, coordinates, 2);
ol.geom.flat.deflateCoordinatess(
this.flatCoordinates, 0, coordinates, this.stride, this.ends_);
ol.geom.orientFlatLinearRings(
ol.geom.flat.orientLinearRings(
this.flatCoordinates, 0, this.ends_, this.stride);
this.dispatchChangeEvent();
};