Remove goog.isDef from geom/linestring
This commit is contained in:
@@ -148,7 +148,7 @@ ol.geom.LineString.prototype.getCoordinateAtM = function(m, opt_extrapolate) {
|
|||||||
this.layout != ol.geom.GeometryLayout.XYZM) {
|
this.layout != ol.geom.GeometryLayout.XYZM) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
var extrapolate = goog.isDef(opt_extrapolate) ? opt_extrapolate : false;
|
var extrapolate = opt_extrapolate ? opt_extrapolate : false;
|
||||||
return ol.geom.flat.lineStringCoordinateAtM(this.flatCoordinates, 0,
|
return ol.geom.flat.lineStringCoordinateAtM(this.flatCoordinates, 0,
|
||||||
this.flatCoordinates.length, this.stride, m, extrapolate);
|
this.flatCoordinates.length, this.stride, m, extrapolate);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user