trafficonese / leaflet.extras

Extra functionality for leaflet R package.
https://trafficonese.github.io/leaflet.extras/
GNU General Public License v3.0
213 stars 74 forks source link

Request to Add Leaflet Browser Print #162

Open nschwamm opened 5 years ago

nschwamm commented 5 years ago

This is similar to other's questions to add a printing/exporting based leaflet extension. This is a clear limitation from the actual integration of the leaflet project because it limits the ability to actually export the maps to a 3rd party. The preference towards Browser Print (vs other plugins discussed) is that it better supports the auto option for size, thus making it more robust in it's usage. For example, when using Shiny, the ability to auto resize is crucial.

Initial repo: https://github.com/Igor-Vladyka/leaflet.browser.print

trafficonese commented 4 days ago

In leaflet.extras2 the plugin leaflet-easyPrint is included. See this example.

But I can see that leaflet.browser.print has quite a few extras and advantages. I will look into it.