leaf_stars | R Documentation |
Map of stars in leaflet that is not coloured.
leaf_stars(
data,
pal = pal_viridis_mix(1),
alpha_fill = 0.5,
basemap = "light",
group_id = NULL,
map_id = "map"
)
data |
A stars object. Required input. |
pal |
Character vector of hex codes. |
alpha_fill |
The opacity of the fill. Defaults to 0.5. |
basemap |
The underlying basemap. Either "light", "dark", "satellite", "street", or "ocean". Defaults to "light". Only applicable where shiny equals FALSE. |
group_id |
The id name for the stars group. |
map_id |
The map id for the leaflet map. Defaults to "map". |
A leaflet object.
## Not run:
library(simplevis)
leaf_stars(example_stars)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.