How can I embed a Google Map display (or other GIS mapping) in a PDF when I create it?

I need to create server side PDFs that include a map with markers, etc., but as far as I know, this is not possible with Google Maps due to the reliability of JavaScript.

Is there a way to use the Google Maps API for this, or is there some other free (or cheap) alternative with this feature and comparable functionality?

+5
source share
2 answers

what you can do is use google maps static api to generate the image: http://code.google.com/apis/maps/documentation/staticmaps/

pdf.

+12

dusoft. Imagick

$im = new Imagick("image.jpg");
$im->setImageFormat("pdf");
$im->writeImage("image.pdf");
+3

All Articles