Index: /issm/trunk-jpl/src/m/plot/kmlgroundoverlay.m
===================================================================
--- /issm/trunk-jpl/src/m/plot/kmlgroundoverlay.m	(revision 14243)
+++ /issm/trunk-jpl/src/m/plot/kmlgroundoverlay.m	(revision 14244)
@@ -34,5 +34,5 @@
 
 %print image at high resolution
-export_fig([kmlroot '/' kmlimagename],'-transparent');
+export_fig([kmlroot '/' kmlimagename],'-transparent','-zbuffer'); %zbuffer to avoid "Bad data returned by HARDCOPY. Not calling IMWRITE"
 %printmodel([kmlroot '/' kmlimagename],kmlimagetype,'trim','on','resolution',kmlresolution,'margin','off','frame','off');
 
