Description Usage Arguments Examples
View source: R/isochrone-endpoint.R
Get isochrones for a given start point
| 1 2 | gh_get_isochrone(start_point, time_limit = 180, distance_limit = -1,
  ...)
 | 
| start_point | The start point as (lat, lon) pair. | 
| time_limit | The travel time limit in seconds.
Ignored if  | 
| distance_limit | The distance limit in meters. | 
| ... | Additonal parameters. See https://docs.graphhopper.com/#operation/getIsochrone. | 
| 1 2 3 4 5 6 | if (FALSE) {
  start_point <- c(52.53961, 13.36487)
  isochrone_sf <- gh_get_isochrone(start_point, time_limit = 180) %>%
    gh_as_sf()
}
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.