Szpadel/chrome-headless-render-pdf

leaflet maps are missing in the pdf

Opened this issue · 1 comments

I tried to turn a Jupyter Notebook including a leaflet map (through folium) into a PDF.
As an example https://python-visualization.github.io/folium/quickstart.htm can serve.
I realized that when printing the Jupyter Notebook in a browser, I had to activate background pictures in order to see the map tiles. Anyhow, the command --include-background did not help me to get the maps.

I tried to discuss it here: https://superuser.com/questions/1463819/print-pdf-of-website-with-chrome-in-headless-mode -- maybe it could be the matter that some tiles are not yet loaded at the point of printing.