Function coordinateAtDistance

  • returns a new coordinate ([lon, lat] in degrees) from a distance, bearing and starting coordinate

    Parameters

    • coord: number[]

      [lon, lat] in degrees

    • d: number

      distance in m to new coordinate

    • brng: number

      bearing in degrees ( 0 == north, 90° == east)

    Returns number[]

    ;