Select to view content in your preferred language

Blank map on print preview in Firefox

1888
2
Jump to solution
01-21-2022 12:03 PM
AdamNull
New Contributor

I'm building an application using version 4.20.2 of the JS API. One of the requested workflows from end users was to hit Ctrl + P to bring up the print preview dialog and print out their map. This method works on all browsers except Firefox (including Windows and Mac OS).

On Firefox, the map is entirely blank in the print preview. For testing, I added a red background to the HTML Canvas element which does appear on the print preview so it seems like just the layers are not rendering. I was curious if this was a problem with my application so I went to other applications built using the JS API as well as a few apps built with the WebApp Builder. These showed the same behavior where the map did not appear on the print preview within Firefox.

0 Kudos
1 Solution

Accepted Solutions
Noah-Sager
Esri Regular Contributor

Hi @AdamNull, thanks for posting your issue here. Unfortunately, this a known limitation of the Firefox browser since the ArcGIS API for JavaScript switched to using WebGL.

View solution in original post

0 Kudos
2 Replies
Noah-Sager
Esri Regular Contributor

Hi @AdamNull, thanks for posting your issue here. Unfortunately, this a known limitation of the Firefox browser since the ArcGIS API for JavaScript switched to using WebGL.

0 Kudos
Jesse_WI_DNR
Occasional Contributor

Hi Noah,

This issue was just reported to us as well.  My googling brought me here.  Given this was reported 2+ years ago, just curious if you happen to know whether this will be a perpetual issue with FireFox?

get.webgl.org seems to render fine in my test FireFox environment but still have the blank map with ctrl-p print.

Thanks for any info you might have!

0 Kudos