base_map | R Documentation |
Create a blank map
base_map(
provider_tiles = NULL,
custom_tiles = NULL,
p_tile_opts = list(),
c_tile_opts = list(),
p_tile_labs = NULL,
c_tile_labs = NULL,
proxy_map_id = NULL
)
provider_tiles |
character vector of known map tile providers |
custom_tiles |
character vector of URLs of custom tiles |
p_tile_opts |
list of providerTileOptions for the provider tiles |
c_tile_opts |
list of tileOptions for the custom tiles |
p_tile_labs |
character vector of labels for the provider tiles |
c_tile_labs |
character vector of labels for the custom tiles |
proxy_map_id |
map ID of a leaflet map if called from a Shiny app |
map a leaflet map
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.