Use ol.geom.flat.orient namespace

This commit is contained in:
Tim Schaub
2015-03-25 16:33:17 -06:00
parent c600a92516
commit 5f6ceff3a7
2 changed files with 2 additions and 2 deletions

View File

@@ -213,7 +213,7 @@ ol.geom.MultiPolygon.prototype.getInteriorPoints = function() {
ol.geom.MultiPolygon.prototype.getOrientedFlatCoordinates = function() {
if (this.orientedRevision_ != this.getRevision()) {
var flatCoordinates = this.flatCoordinates;
if (ol.geom.flat.linearRingssAreOriented(
if (ol.geom.flat.orient.linearRingssAreOriented(
flatCoordinates, 0, this.endss_, this.stride)) {
this.orientedFlatCoordinates_ = flatCoordinates;
} else {