code: function (line, dist) {
          var sum = 0;
  
          if (dist <= 0) return line[0];
  
          for (var i = 0; i < line.length - 1; i++) {
              var p0 = line[i];
              var p1 = line[i + 1];
              var d = this.distance(p0, p1);
              sum += d;
              if (sum > dist) return interpolate(p0, p1, (dist - (sum - d)) / d);
          }
  
          return line[line.length - 1];
      }
docs: Returns the point at a specified distance along the line.
  
  @param {Array<Array<number>>} line
  @param {number} dist distance
  @returns {Array<number>} point [longitude, latitude]
  @example
  var point = ruler.along(line, 2.5);
  //=point