Route two locations: determine a sequence of steps (legs) between two
locations using the Google Directions API. Note: To use Google's Directions
API, you must first enable the API in the Google Cloud Platform Console. See
register_google().
Arguments
- from
 vector of origin addresses
- to
 vector of destination addresses
- mode
 driving, bicycling, walking, or transit
- structure
 structure of output, "legs" or "route", see examples
- output
 amount of output ("simple" or "all")
- alternatives
 should more than one route be provided?
- units
 "metric"
- urlonly
 return only the url?
- override_limit
 override the current query count
- ext
 domain extension (e.g. "com", "co.nz")
- inject
 character string to add to the url
- ...
 ...
Author
David Kahle david@kahle.io