Changing extent structure back to single array: [minX, minY, maxX, maxY]
This means we'll have to have a new structure and new methods for 3D envelopes.
This commit is contained in:
@@ -126,7 +126,7 @@ ol.geom.LineString.prototype.getBounds = function() {
|
||||
maxY = y;
|
||||
}
|
||||
}
|
||||
this.bounds_ = [[minX, minY], [maxX, maxY]];
|
||||
this.bounds_ = [minX, minY, maxX, maxY];
|
||||
}
|
||||
return this.bounds_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user