leaflet-easyPrint icon indicating copy to clipboard operation
leaflet-easyPrint copied to clipboard

Map container dissapears while printing

Open bsoviedo opened this issue 2 years ago • 0 comments

I had my map like this in my css:

´´´ #mapid { z-index: 0; margin-top: 12vh; height: 88vh; } ´´´

using vh like the measurement for the heigth.

The configuration of the plugin is:

´´´ // snapshot de mapa L.easyPrint({ position: 'bottomright', sizeModes: [ 'A4Portrait', 'A4Landscape'],

exportOnly:false,

}).addTo(mymap);

´´´

but when i take the snapshoot, the map dissapears while the file is loaded.

i have read the #44 but not working for me

Any thoughts?

bsoviedo avatar Mar 16 '22 14:03 bsoviedo