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",
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.
map_id
The shiny map id for a leaflet map within a shiny app. Defaults to "map".
Examples
Run this code# NOT RUN {
library(simplevis)
leaf_stars(example_stars)
# }
Run the code above in your browser using DataLab