| gp_map | R Documentation | 
Export geojson object on a map.
gp_map(
  x,
  browse_map = TRUE,
  dest_path = tempdir(),
  height = NULL,
  width = NULL
)
| x | character or sf object: URL or sf object to view on map | 
| browse_map | logical: should the outcome be viewed in a browser?
defaults to  | 
| dest_path | character: write output to  | 
| height | character: css compatible option for map height. | 
| width | character: css compatible option for map width. | 
path character of path that html file was written to.
## Not run: 
gp_map(paste0("http://opendata.canterburymaps.govt.nz/datasets/",
"fb00b553120b4f2fac49aa76bc8d82aa_26.geojson"), browse_map = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.