getLength() {
    return lineStringLength(
      this.flatCoordinates,
      0,
      this.flatCoordinates.length,
      this.stride,
    );
  }
Return the length of the linestring on projected plane.
@return {number} Length (on projected plane).
@api