Skip to content

Map container dissapears while printing #128

Open
@bsoviedo

Description

@bsoviedo

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions