addResetMapButton {leaflet.extras}R Documentation

Reset map's view to original view

Description

Reset map's view to original view

Usage

addResetMapButton(map)

Arguments

map

The map widget

Examples

leaflet() %>%
  addTiles() %>%
  addResetMapButton()

[Package leaflet.extras version 2.0.0 Index]