Add fullscreen control
Add a fullscreen control button
addFullscreenControl(map, position = "topleft", pseudoFullscreen = FALSE)
map |
The leaflet map |
position |
position of control: "topleft", "topright", "bottomleft", or "bottomright" |
pseudoFullscreen |
if true, fullscreen to page width and height |
leaflet() %>% addTiles() %>% addFullscreenControl()
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.