calculateDistance: Calculates distance between two point using google API You...

Description Usage Arguments Value

Description

Calculates distance between two point using google API You have to create own API key here: https://developers.google.com/maps/documentation/distance-matrix/

Usage

1
calculateDistance(origin, target, mode = "driving", apikey)

Arguments

origin

start of journer

target

eng of the journey

mode

one of 'driving' (default), walking, bycycling or transit (public transport)

apikey

Value

list with distance in kilometers and time in minutes


etnetera-activate/WATAtools documentation built on May 16, 2019, 9:07 a.m.