a!distanceBetween( startLatitude, startLongitude, endLatitude, endLongitude )
Returns the distance between the two locations (in meters) specified by the start and end coordinates. The distance is calculated by tracing a line between the two locations that follows the curvature of the Earth, and measuring the length of the resulting arc.
Keyword | Type | Description |
---|---|---|
|
Number (Decimal) |
Latitude of the start location in degrees. |
|
Number (Decimal) |
Longitude of the start location in degrees. |
|
Number (Decimal) |
Latitude of the end location in degrees. |
|
Number (Decimal) |
Longitude of the end location in degrees. |
Number (Decimal)
a!distanceBetween(startLatitude: 38.932290, startLongitude: -77.218490, endLatitude: 38.917370, endLongitude: -77.220760)
returns 1670.609
a!distanceBetween() Function