Closed Falke-Design closed 2 years ago
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()
browser-print-cancel
printFunction
npm run build
npm run watch
L.Control.BrowserPrint
L.BrowserPrint
L.BrowserPrint.Mode.Custom(pageSize, options)
!!Breaking Changes!!
The complete code has changed! It's now more readable and more structured.
Now it is possible to use BrowserPrint without a Control.
Added
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 addedprintFunction
to overwrite the print behaviournpm run build
andnpm run watch
Changed
L.Control.BrowserPrint
toL.BrowserPrint
L.BrowserPrint.Mode.Custom(pageSize, options)