calc_dist | R Documentation |
Calculate distance to a feature
calc_dist(x1, y1, x2, y2)
x1 |
Origin longitude. |
y1 |
Origin latitude. |
x2 |
Destination longitude. |
y2 |
Destination latitude. |
A vector containing the distance from origin to destination.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.