Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map container dissapears while printing #128

Open
bsoviedo opened this issue Mar 16, 2022 · 0 comments
Open

Map container dissapears while printing #128

bsoviedo opened this issue Mar 16, 2022 · 0 comments

Comments

@bsoviedo
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant