[OpenLayers-Users] Print / Saving Image

youknowho iansgis at GMAIL.COM
Thu Oct 2 15:01:29 EDT 2008


The php REQUEST array is empty, with width, height and tiles all undefined,
so I looked at the client-side POSTs (thanks for the Firebug tip). According
to Firebug the POST is empty as well. The javascript variable tiles_json is
valid though and contains all of the tiles: 

[{"url":"http://www.host.com/tilecache/tilecache.py?LAYERS=basic&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&FORMAT=image%2Fjpeg&SRS=EPSG%3A4326&BBOX=-140.625,50.625,-135,56.25&WIDTH=256&HEIGHT=256","x":-725,"y":-626,"opacity":100},...]

I checked several of these tile urls and they display correctly in the
browser. So the problem is in the AJAX request correct? I set up a proxy
host as well but this didn't change the result, and shouldn't be necessary
since mapserver and tilecache are both on this host serving local data. 
-- 
View this message in context: http://www.nabble.com/Print---Saving-Image-tp14264520p19785548.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list