Log in

midbar in googlemaps

If I am wrong in posting my issue here, correct me.
I am developing virtual map using Google maps API.
The result can be seen here.
I want to let a user printing the selected part of the map.
For this purpose, I use a small javascript function, which is called by link "Print map":
function printPartOfPage(elementId)
 var printContent = document.getElementById(elementId);
 var windowwidth = printContent.offsetWidth;
 var windowheight = printContent.offsetHeight;
 var windowUrl = 'about:blank';
 var uniqueName = new Date();
 var windowName = 'Print' + uniqueName.getTime();
 var printWindow = window.open(windowUrl, windowName, 'left=50000,top=50000,width='+windowwidth+',height='+windowheight);

The problem is that Internet Explorer normally prints out Map area, but FireFox doesn't. FireFox corrupts Map's area so that only last 10px are shown. The same problem with Safari. I suspect that this is common problem for all Gecko based browsers.

Maybe some of you resolved this issue somehow?
Thank you in advance for any help