rowanwins / leaflet-easyPrint

A leaflet plugin which adds an icon to print the map - Demo @ http://rowanwins.github.io/leaflet-easyPrint/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Map container dissapears while printing

bsoviedo opened this issue · 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?