Description Usage Arguments Value
Calculates distance between two point using google API You have to create own API key here: https://developers.google.com/maps/documentation/distance-matrix/
1 | calculateDistance(origin, target, mode = "driving", apikey)
|
origin |
start of journer |
target |
eng of the journey |
mode |
one of 'driving' (default), walking, bycycling or transit (public transport) |
apikey |
list with distance in kilometers and time in minutes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.