R: Add fullscreen control

addFullscreenControl {leaflet.extras} | R Documentation

## Add fullscreen control

### Description

Add a fullscreen control button

### Usage

    addFullscreenControl(map, position = "topleft", pseudoFullscreen = FALSE)

### Arguments

`map` | The leaflet map
`position` | position of control: "topleft", "topright", "bottomleft", or "bottomright"
`pseudoFullscreen` | if true, fullscreen to page width and height

### Examples

    leaflet() %>%
      addTiles() %>%
      addFullscreenControl()

[Package leaflet.extras version 1.0.0 Index]