Igor-Vladyka / leaflet.browser.print

A leaflet plugin which allows users to print the map directly from the browser
https://igor-vladyka.github.io/leaflet.browser.print/
MIT License
155 stars 76 forks source link

custom print function #68

Closed askart closed 5 years ago

askart commented 5 years ago

I've noticed that custom print function had been changed, and now we need to pass mode inside print function? https://github.com/Igor-Vladyka/leaflet.browser.print/commit/f5646f48b4d18859ddde68adbc0d1736e5e2943f#diff-04c6e90faac2675aa89e2176d2eec7d8R76 context[printFunc](mode)

Igor-Vladyka commented 5 years ago

Yes, we need to provide print page information, so we need to pass fully functional module into it.

Igor-Vladyka commented 5 years ago

I just updated documentation with more information on custom print action, please take a look.