aratcliffe / Leaflet.print

Plugin for printing a Leaflet map using either Mapfish or the GeoServer print module.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Printing map outside of window boundries

matias-piin opened this issue · comments

Hi,

I really like this plugin for leaflet but have only one blocking issue before I'm able to use it in my app. Is it possible to have leaflet.print load map tiles outside of the viewport when printing large formats such as A3.

For example, if I want to print an A3 portrait map it will basically always have some part of the map that is outside of the browser's viewport. Eventhough this part of the map does not load in the browser, I would still like to have it included as part of the map. Otherwise is it possible to have the printed result be zoomed in so that it fills the printed map with the part of the map that is already loaded?

Example:
image

Thank you!