Printing Google maps, error
Posted: 15 Feb 2011, 17:10
Hello,
is there a way to have Phoca PDF print maps included in articles by the Phoca maps plugin?
As it did not get it to work, I included a static map (image) with the following url:
Which (when printing pdf) gives me the error:
is there a way to have Phoca PDF print maps included in articles by the Phoca maps plugin?
As it did not get it to work, I included a static map (image) with the following url:
Code: Select all
http://maps.google.com/maps/api/staticmap?center=berlin&format=jpg&maptype=roadmap&mobile=false&markers=|color:red|label:1|Hamburg&markers=|color:blue|label:2|Berlin&markers=|color:green|label:3|Potsdam&size=500x300&key=&sensor=false
However, it does not happen when I use only one map marker, resulting in a shorter url. Phoca PDF seems to have trouble with long urls.Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1829397 bytes) in /var/www/vhosts/mondvojagxo.de/httpdocs/administrator/components/com_phocapdf/assets/tcpdf/tcpdf.php on line 9005