Move deflateCoodinates into ol.geom.flat
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
goog.provide('ol.geom.MultiLineString');
|
||||
|
||||
goog.require('ol.geom.Geometry');
|
||||
goog.require('ol.geom.flat');
|
||||
|
||||
|
||||
|
||||
@@ -58,7 +59,7 @@ ol.geom.MultiLineString.prototype.getType = function() {
|
||||
ol.geom.MultiLineString.prototype.setCoordinates =
|
||||
function(coordinates, opt_layout) {
|
||||
this.setLayout(opt_layout, coordinates, 2);
|
||||
ol.geom.deflateCoordinatess(
|
||||
ol.geom.flat.deflateCoordinatess(
|
||||
this.flatCoordinates, 0, coordinates, this.stride, this.ends_);
|
||||
this.dispatchChangeEvent();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user