leaflet.browser.print
Advanced tools
Changelog
[2.0.2] - 2022-03-11
Changelog
[2.0.0] - 2020-11-06
The complete code has changed! It's now more readable and more structured.
Now it is possible to use BrowserPrint without a Control.
L.browserPrint(map, options)
margin: {left: 10, top: 10, right: 10, bottom: 10
enableZoom
zoom
rotate
scale
orientation
.cancel()
to stop printingbrowser-print-cancel
event addednpm run build
and npm run watch
L.Control.BrowserPrint
to L.BrowserPrint
L.BrowserPrint.Mode.Custom(pageSize, options)