aratcliffe / Leaflet.print

Plugin for printing a Leaflet map using either Mapfish or the GeoServer print module.
114 stars 40 forks source link

Printing map outside of window boundries #19

Open matias-piin opened 8 years ago

matias-piin commented 8 years ago

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!