I am using the print map code from the wiki and opening the printed image in
a new browser window (for testing I am just opening a Blackle page):

new OpenLayers.Request.issue({method:'POST', url:printURL,
params:{width:size.w, height:size.h, tiles:tiles_json}, callback:
function(request) {alert(request.status); alert(request.responseText);
window.open('http://www.blackle.com','_blank');}});

All works as expected in Firefox. Internet Explorer 6 throws an "Unknown
name" error at a line outside of my js file, never alerts the status code or
responseText, and never opens a new window. Internet Explorer 7 returns
status code 122, empty responseText, and then opens a new window, which
according to http://www.codebelay.com/blog/?p=194 occurs because IE7 is
limiting the size of GET strings. The solution is to do a POST, which is
what I'm doing...

Has anyone else seen this behavior and found a solution?
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to