View source: R/addMapResetButton.r
addMapResetButton | R Documentation |
Add a map reset button to a Leaflet map object
addMapResetButton(leaf)
leaf |
A Leaflet map object |
reset_map=wqTools::buildMap() %>% addMapResetButton()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.