I have a HTML page that is dynamically built. Within the page is a Google Map. The page is called and processed to output as a PDF using a PDF generation class. My problem is that when the PDF completes it is missing the map. My question is, how or what program (open source or not) can i use to get the map to show. Currently the PDF class im using is http://www.tufat.com/s_html2ps_html2pdf.htm. It is so far the best i have found. It will not capture Flash/AJAX Google, MapQuest, or Yahoo Maps. It will though capture the non-javascript version of Yahoo Maps. I have looked and cannot find an API for this older style map. If anyone has an idea, please send along. I have also tried these PDF programs, http://www.ros.co.nz/pdf/, http://www.fpdf.org/. Alternativly, i would also like to know if there are any suggestions on PHP scripts/programs that will fill data into a MS Word doc, or generate a Word doc like a PDF. Similiar to how Access can. Thanks Much
This thread earned a bump from me. I would love to know how to implement maps in PDF files. I use fpdf and it is quite good. I can parse most html directly to a PDF file (including pictures) but web dpi is only 72 so the picture must be huge then downsized for good printing quality. I doubt you are going to find any map service that uses javascript able to implement in a PDF. Try the yahoo api that renders a png or jpg picture then you can dump that into your PDF. Good luck, subscribed to thread so hopefully I can get an answer for this also.
I'd be very interested in finding this out as well. Good Maps to PDF would have all kinds of uses when it comes to GIS work. Thanks, Dino