Move deflateCoodinates into ol.geom.flat

This commit is contained in:
Tom Payne
2013-11-12 12:19:08 +01:00
parent 16994f1774
commit dc1ad7bb83
8 changed files with 89 additions and 78 deletions
+2 -1
View File
@@ -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();
};