eKoopmans / html2pdf.js

Client-side HTML-to-PDF rendering using pure JS.
MIT License
4.17k stars 1.39k forks source link

Google maps not generating properly #124

Open sameerpallav opened 6 years ago

sameerpallav commented 6 years ago

The CSS breaks down while generating google maps. See 3rd page in this pdf output.pdf

Expected output: screen shot 2018-06-15 at 5 08 59 am

Any ideas. Please suggest.

acnicholls commented 6 years ago

Hey @sameerpallav, How did you get the pagebreaks to display so beautifully? I'm having problems.

sameerpallav commented 6 years ago

I hardcoded the heights of div to 1122px for a4. html2pdf_page_break class doesn't work properly for me.

acnicholls commented 6 years ago

Thanks, it doesn't work properly for me either...:(

afuller611-animas commented 5 years ago

@sameerpallav Did you resolve this issue? I can't even get google maps to embed in the first place, what was your code to do this?

eKoopmans commented 5 years ago

Hi, there are a few known issues that might be contributing to this problem - please see the list here:

Readme - Known issues

In particular, please check issues 1-3 (html2canvas rendering, node cloning, and resizing). If one of these fixes or narrows down your problem, please post here!