if (FALSE) {
start_point <- c(52.592204, 13.414307)
end_point <- c(52.539614, 13.364868)
route_sf <- gh_get_route(list(start_point, end_point)) %>%
gh_as_sf()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.