| leaflet_map_facilities | R Documentation |
Map facility-specific locations (as pins), or quantities (as circles)
leaflet_map_facilities(
facility_geodata,
size,
color = "orange",
opacity = 0.333,
popup = NULL,
max_size = 100,
stroke = FALSE,
popupOptions = leaflet::popupOptions(),
...,
verbose = getOption("verbose")
)
facility_geodata |
(geodata) for example: |
size |
(expression) if supplied, controls size of circles (area, not radius, will be proportional to this) |
color |
(expression) if supplied, controls colors of circles |
max_size |
(numeric) helpful for tweaking the relative sizes of circles |
stroke |
(logical) see |
... |
further arguments to |
verbose |
(logical) |
leaflet_map_SFBA()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.