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
154 stars 76 forks source link

Error in documentation #114

Open nGolubeva opened 2 years ago

nGolubeva commented 2 years ago

Section "Custom print button action"

var modeToUse = L.BrowserPrint.Mode.Auto(); map.printControl.print(modeToUse);

It should be like this map.printControl.browserPrint.print(modeToUse);