View source: R/plugin-fullscreen.R
addControlFullScreen | R Documentation |
Add full screen control (https://github.com/brunob/leaflet.fullscreen)
addControlFullScreen(map)
map |
the map to add the tile layer to |
modified map object
leaflet() %>%
addControlFullScreen()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.