1

Is it possible to include a map from Google in the pdf ?

I'm trying since two hours but it's not working.

Thanks for help.

2

no, it is not possible...
Ancien pseudo : lolo

3

I finally found the solution. smile

Don't try to use javascript.

Use Static Map API and generate png image.

You need to modify a bit the code in html2pdf.class.php to allow this kind of png file.

http://code.google.com/intl/fr-FR/apis/maps/documentation/staticmaps/

4

why i need to modify html2pdf ? if it is a real png, there will be no pb.
Ancien pseudo : lolo

5

My mistake.

I thought this picture couldn't be ok for testIsImage() so I changed the exception.

Now it's working well, great PDF files !