Description Usage Arguments Value Examples
Get route information
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. |
vehicle |
Vehicle type for which to calculate the route. Only two options are possible; "truck" or "car". The paramters defaults to "truck". |
A data.frame with all the information about the requested route.
1 2 3 4 | ## Not run:
getRoute(app_id = "xxx", app_code = "xxx", waypoint0 = "52.5,13.45", waypoint1 = "53.5,13.45")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.