Description Usage Arguments Examples
Function to calculate the metric distance between two coordinates (lat, lon)
1 | earth.dist(long1, lat1, long2, lat2)
|
long1 |
longitude of the first coordinate |
lat1 |
latitude of the first coordinate |
long2 |
longitude of the second coordinate |
lat2 |
latitude of the second coordinate |
1 | earth.dist(-70.34, 43.23, -71.29, 43.21)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.