Function HAVERSINE

  • Haversine formulate to calculate distance of two geographical points

    Parameters

    • pointA: number[]

      Point A

    • pointB: number[]

      Point B

    Returns number

    distance