Thin wrapper around htmlwidgets::saveWidget() for the leaflet
map returned by edr_map() or edr_explore(). With
selfcontained = TRUE (the default), popup chart data and CSV
download links live inside the file – no sidecar directory.
Arguments
- map
A
leafletorhtmlwidget.- file
Path to write to.
- selfcontained
If
TRUE, embed all assets in the file.- ...
Forwarded to
htmlwidgets::saveWidget().