save_map | R Documentation |
Save interactive maps to html file
save_map(x, file = "./map.html")
x |
A leaflet class object e.g. as created with make_map. |
file |
The file path where the output html file should be saved. |
The original object passed to the function unmodified.
## Not run:
collar_data %>%
collar::make_map() %>%
collar::save_map()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.