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

apex:map not is rendering in PDF page


I created a visualforce with apex:map and it works.
But when i generate PDF page the image is not rendered.

My code:

<apex:map width="400px" height="200px" mapType="hybrid" zoomlevel="15" 
             center="{!mapLatitudeLongitude}" rendered="{!Account.Latitude__c!=null}">

It works if I don't set the RenderAs="PDF" on the page.


Andy BoettcherAndy Boettcher
Anything to do with javascript (client-side) will not render when specifying the "renderas=pdf" option.  Apex:Map is one of those.