leaf_basemap | R Documentation |
Make a stack of leaflet baselayers for use in shiny apps.
leaf_basemap(bounds = NULL, basemap = "light")
bounds |
A bbox object or numeric vector of length four, with xmin, ymin, xmax and ymax values in WGS84 (epsg 4326). |
basemap |
The first layer to start in the basemap stack. Either "light", "dark", "street", "satellite", or "ocean". Defaults to "light". |
A leaflet object.
leaf_basemap(basemap = "dark")
leaf_basemap(bounds = c(166.70047,-34.45676, 178.52966,-47.06345))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.