grinat / leaflet-simple-map-screenshoter

Leaflet plugin which take screenshot of map
MIT License
71 stars 19 forks source link

Add new option to prevent download on button click #13

Closed tirli closed 3 years ago

tirli commented 3 years ago

Add the possibility to prevent immediate download when clicking on the screenshot button to provide an opportunity to have your own custom actions. Without it, you have to create your own button or use private fields to remove the library's listeners.

I don't know if I need to do something to help with the npm release. Bump version probably? Don't know how to do it properly.