Description Usage Arguments Value Examples
Return delta in distance between truck and car routes
1 2 |
url |
The base url as required to connect to the HERE API. If no value is passed in this parameter the standard parameter from the setURL() is used. See the documentation for the setURL() for more information about the base url. |
app_id |
App id for the HERE REST API call. See the vignette: Getting Started how to get an App Id. |
app_code |
App Code for the HERE REST API call. See the vignette: Getting Started how to get an App Code. |
waypoint0 |
Starting point as a position with in geocoordinates. |
waypoint1 |
End point as a position with in geocoordinates. |
unit |
The unit of measure of the outputted distance object. Currently only "km" and "mi" are an option. |
rnd |
Rounds the result. TRUE is the standard setting. |
A list with the truck and car distance
1 2 3 4 5 6 7 8 | ## Not run:
diffDistTruckCar(
app_id = "xxx",
app_code = "xxx",
waypoint0 = "52.5,13.4",
waypoint1 = "54.5,13")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.