Description Usage Arguments Examples
This function takes two lat-long pairs and calculates the distance between them in m or km
1 |
lat1 |
Latitude of point 1 |
long1 |
Longitude of point 1 |
lat2 |
Latitude of point 2 |
long2 |
Longitude of point 2 |
unit |
either "km" or "m" |
1 | dist_xy()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.