Get a route for a given set of points
gh_get_route(points, ..., response_only = FALSE)
points | A list of 2 or more points as (lat, lon) pairs. |
---|---|
... | Optional parameters that are passed to the query. |
response_only | Whether to return the raw response object instead of just its content. |
https://docs.graphhopper.com/#tag/Routing-API for optional parameters.