leaf_stars: Stars leaflet map.
Description
Map of stars in leaflet that is not coloured.
Usage
leaf_stars(
data,
pal = pal_viridis_reorder(1),
alpha_fill = 0.5,
basemap = "light",
group_id = NULL,
map_id = "map"
)
Arguments
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".
Examples
Run this code# NOT RUN {
library(simplevis)
leaf_stars(example_stars)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab