Description Usage Arguments Value
Take two latlon coordinates, and return the distance between them.
1 | mapDistance(lat.1, lon.1, lat.2, lon.2, unit = "km")
|
lat.1 |
latitude position, point 1 |
lon.1 |
longitude position, point 1 |
lat.2 |
latitude position, point 2 |
lon.2 |
longitude position, point 2 |
unit |
distance units desired for output, default "km" |
numeric value, km between the two points
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.