powered by
Make a stack of leaflet baselayers for use in shiny apps.
leaflet_basemap_stack(top_layer = "light")
The first layer to start in the basemap stack. Either "light", "dark", "street", "satellite", or "ocean". Defaults to "light".
A leaflet object.
# NOT RUN { leaflet_basemap_stack("dark") # }
Run the code above in your browser using DataLab