I don't exactly why but whenever I try to print my leaflet map with layers, it shows the map a little shifted to the left as well as the pins are not quite ok. I tried using easyPrint()
and window.print()
, same result. It used to work well. Any ideas? Here is the difference
4
-
Did you try print() for the map div container ? $('#map').print(); – Shiko Jun 6 '16 at 3:43
-
2Can you post your code in a jsfiddle? – BDD Jun 7 '16 at 11:35
-
gis.stackexchange.com/questions/222058/… – alexandros84 Jul 8 '17 at 7:12
1
Have you tried either of the printing solutions listed here?