@jdultra/ultra-globe / GeoUtils / rhumbDistance
Function: rhumbDistance()
rhumbDistance(
lon1,lat1,lon2,lat2):number
Defined in: utils/GeoUtils.d.ts:111
Calculates the distance between two points along a rhumb line.
Parameters
lon1
number
Longitude of the first point in degrees.
lat1
number
Latitude of the first point in degrees.
lon2
number
Longitude of the second point in degrees.
lat2
number
Latitude of the second point in degrees.
Returns
number
- Distance in kilometers.