make_isochrone <- function(resp) {
feature_collection <- list(
type = "FeatureCollection", features = resp$polygons
) %>%
toJSON_st_read()
# list(
# polygons = toJSON_st_read(feature_collection)
# )
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.