powered by
Add a control, which allows to print or export a map as .PNG.
addEasyprint(map, options = easyprintOptions())
A leaflet map object
a map widget object created from leaflet
leaflet
A named list of options. See easyprintOptions
easyprintOptions
https://github.com/rowanwins/leaflet-easyPrint
Other EasyPrint Functions: easyprintMap(), easyprintOptions(), removeEasyprint()
easyprintMap()
easyprintOptions()
removeEasyprint()
library(leaflet) leaflet() %>% addTiles() %>% addEasyprint(options = easyprintOptions( title = "Print map", position = "bottomleft", exportOnly = TRUE ))
Run the code above in your browser using DataLab