function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ajaydgr8Ajaydgr8 

RederAs=PDF is not working with Google Map!! please help

My VF page shows google MAP perfectly but when I renderAs="PDF", it dosn't work, its blank.

Please let me know the solution, if you faced such kind of problem.

 

Thanks,

Ajay 

mtbclimbermtbclimber

There could be a couple of issues here:

 

  1. The PDF Engine doesn't execute any javascript. If your solution is javascript dependent it will not work.
  2. Images served from outside of salesforce are blocked by default from the PDF engine. To open them up add the site from which they are served to the remote sites white list under setup: Administration Setup > Security Controls > Remote Site Settings.