You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I can't view ImageOverlay if i print de map witch custom button but i can see de overlay in the map.
If a i use window.print() i can se ImageOverlay but i cant see special styles with<style leaflet-browser-print-content>
Describe the bug
I can't view ImageOverlay if i print de map witch custom button but i can see de overlay in the map.
If a i use window.print() i can se ImageOverlay but i cant see special styles with<style leaflet-browser-print-content>
To Reproduce
var imageUrl = 'https://maps.lib.utexas.edu/maps/historical/newark_nj_1922.jpg',
imageBounds = [[lat, lng], [lat+0.02,lng+0.02]];
L.imageOverlay(imageUrl, imageBounds).addTo(map);
var optPrint={
printLayer: currentLayer,
closePopupsOnPrint: true,
customPrintStyle:{ color: "white", dashArray: "5, 10", pane: "customPrintPane" },
printModes: [L.BrowserPrint.Mode.Auto(),L.BrowserPrint.Mode.Landscape("A4",{title: "A4"}),L.BrowserPrint.Mode.Landscape("A3",{title: "A3"})]
,manualMode: false
}
var printer=L.control.browserPrint(optPrint)
printer.addTo(map);
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: