gp_geojson | R Documentation |
Explore a geojson object from a remote URL on a map.
gp_geojson(geojson_url, colour_pal = "", build = TRUE)
geojson_url |
URL or path to read geojson from |
colour_pal |
the value to use when colouring each feature |
build |
whether to build React front-end, defaults to |
## Not run:
gp_geojson(paste0("http://opendata.canterburymaps.govt.nz/datasets/",
"fb00b553120b4f2fac49aa76bc8d82aa_26.geojson"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.