Wrapper around saveWidgethtml that saves the map in an arbitrary folder using setwd().
1 | savemaphtml(m, path, ...)
|
m |
a map object obtained from leaflet |
path |
path to save the map |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.