Function initialBearingBetweenCoords

  • returns the initial bearing in degrees (0-360) between two coordinates

    Parameters

    • coords1: number[]

      [lon, lat] in degrees

    • coords2: number[]

      [lon, lat] in degrees

    Returns number

    ;