Description Usage Arguments Value
View source: R/generate_mass_covid_map_by_place.R
See vignette("make-map", package = "WrangleMACovidData")
1 2 3 4 5 6 | generate_mass_covid_map_by_place(
the_map_data,
the_fill_palette,
the_labels,
the_outline_color = "white"
)
|
the_map_data |
sf object created by macovid_read_weekly_for_map() |
the_fill_palette |
palette created by leaflet::colorFactor() |
the_labels |
HTML labels for popup |
the_outline_color |
name of color to outline polygons; defaults to white |
leaflet object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.