View source: R/save_as_leaflet.R
save_as_leaflet | R Documentation |
This function saves the green index data as a Leaflet map in an HTML file.
save_as_leaflet(edges, file_path)
edges |
A data frame containing the calculated green index values for each edge. |
file_path |
The file path where the HTML file will be saved. |
No return value, called for side effects
## Not run:
# Assuming you have already obtained green index data
save_as_leaflet(green_index, "green_index_map.html")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.