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

A0 size print doesn't fit into print screen. #51

Closed
sirajjunior opened this issue Dec 13, 2018 · 5 comments
Closed

A0 size print doesn't fit into print screen. #51

sirajjunior opened this issue Dec 13, 2018 · 5 comments

Comments

@sirajjunior
Copy link

sirajjunior commented Dec 13, 2018

I am trying to print leaflet map with A0 size but map does'nt completely fit on print screen. Print screen discards half of map width. Same issue occurs in A1, A2, A3. Print after size A4 works perfect.

I have attached screen shots of issue and jsfiddle of my code.

One more thing I need to know. Is there any way to increase font size of header and discard URL in footer?

map in browser

map in print screen

Code Sample

http://jsfiddle.net/sirajjunior/LnzN2/6288/

@sirajjunior sirajjunior changed the title A0 size print doesn't into print screen. A0 size print doesn't fit into print screen. Dec 13, 2018
@Igor-Vladyka
Copy link
Owner

Hi There,

Please use "+ More settings" to configure proper printing and add/remove header/footer of page.

If you want custom header: check this documentation.

If it not work for you - you can use: this instructions to download as PNG

@sirajjunior
Copy link
Author

sirajjunior commented Dec 13, 2018

Hi,
Thank you for response. I will check documentation for custom header. Any idea about A0 print size issue? why it splits map into multiple pages and discards half map in width.

@Igor-Vladyka
Copy link
Owner

Your browser does not support A0 printing.

@sirajjunior
Copy link
Author

sirajjunior commented Dec 13, 2018

In case of A0 when i am trying to print a map with visible bounds and saving it as PDF using print screen then it shows map bounds with much larger area than visible in application (browser). It kind of a decreases zoom level.
Do you any idea about it?

Map Before Print in browser
preprintmap

Map in Print Screen
postprint

@Igor-Vladyka
Copy link
Owner

This is kinda expected behavior :)

What do you think, how it should work? In edge cases, like on really small zoom, etc?)

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

No branches or pull requests

2 participants