createPDF/wkhtmltopdf & Google Maps - not displaying markers

By rjbathgate - March 9, 2012

Hi,

We have createPDF plugin (1.02) running perfectly fine, apart from when there is a Google Map on the page to be created as a PDF.

The PDF rendered displays the map fine, but any marker on the map (i.e. a red arrow position marker) is not displayed on the outputted PDF.

Before the createPDF function, I use:
$GLOBALS['CREATEPDF_CUSTOM_SWITCHES'] = '--redirect-delay 5000';

which allows time for the map to load fully (without it, the map may only be half loaded/displayed). Increasing this load time doesn't help.

Has anyone else come across this problem? Or, has anyone else got the createPDF plugin working with Map Pointers/Markers?

Thanks

Re: [Jason] createPDF/wkhtmltopdf & Google Maps - not displaying markers

By rjbathgate - March 12, 2012

Cool, thanks, works a treat (although the Google API has a limit to the output img dimensions), but we can live with that :)

Thanks