mbus-backend
    Preparing search index...

    Function haversine

    • Calculates the great-circle distance between two points using the Haversine formula.

      Parameters

      • aLat: number

        Latitude of point A.

      • aLon: number

        Longitude of point A.

      • bLat: number

        Latitude of point B.

      • bLon: number

        Longitude of point B.

      Returns number

      Distance in meters.