Printing map ?

99 views
Skip to first unread message

Bertrand Mathieu-Daude

unread,
Jul 21, 2015, 10:48:32 AM7/21/15
to leafl...@googlegroups.com
hi,

do anyone has succesfully print a map with leaflet ?
(with legend and all of map composant ?)

thks

bertrand

PS: I'm trying to print with different plugins but it doesn't work for me.

Valerio De Luca

unread,
Feb 20, 2016, 4:50:02 AM2/20/16
to Leaflet
hi bertrand,
have any solution at thi time?
I tryed this:
https://github.com/aratcliffe/Leaflet.print
but when I zoom seems not work fine
tks bye
valerio

Aurelie Batany

unread,
Jul 12, 2016, 12:42:43 PM7/12/16
to Leaflet
Hi, 

Do anyone has a solution tu print a map?
Valerio, have you found the solution with https://github.com/aratcliffe/Leaflet.print?
Have you the possibility to create a document (in jpg or png for example)?
I have made some tests with Leaflet.print, but it doesn't work.

Our installation : Leaflet 0.7
Mapfish print on tomcat 8

The button to print a map is visible, we can click on it and click again on 'A4 portrait' to obtain an error:
 POST http://localhost:8080/print/pdf/create.json 500 (Erreur Interne de Servlet) (internal error of servlet).

Thank you

Aurélie 
Reply all
Reply to author
Forward
0 new messages