Re: [OpenLayers-Users] Print / Saving Image

2009-03-20 Thread youknowho
I found the same behavior when panning before printing, and filed a bug ticket (http://trac.openlayers.org/ticket/1813), which apparently was just closed because it is not a bug. The review of the issue states The wiki printing code is the problem here. It presumably uses getLonLatFromPixel, not

Re: [OpenLayers-Users] Print / Saving Image

2008-10-06 Thread youknowho
I went through the 2.7 Release Notes on the new OpenLayers.Request methods (http://trac.openlayers.org/wiki/Request) but have yet to fix this. From the documentation it sounds like this should work: var tiles_json = JSON.stringify(tiles); var printParams = 'width=' + size.w + 'height=' + size.h

Re: [OpenLayers-Users] Print / Saving Image

2008-10-02 Thread youknowho
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:

Re: [OpenLayers-Users] Print / Saving Image

2008-10-02 Thread youknowho
Gregor Mosheh-3 wrote: Question: Which OL version are you using? I wrote that under 2.5 (i think) and I know that 2.7 introduces a few changes in the Ajax.Request() system. I am linking against the hosted version, which should be 2.7. Time to read up on OL's AJAX. Thank you for your

Re: [OpenLayers-Users] Print / Saving Image

2008-10-01 Thread youknowho
I'm having trouble getting this working and am new to PHP so that may be part of it. I get a 404 not found error message The requested URL /openLayers/temp/br /Warning: Invalid argument supplied for foreach() in /var/www/lib/printMap.php on line 20br

Re: [OpenLayers-Users] Overview map resolution difficulties

2008-06-19 Thread youknowho
I'm still struggling with this. I cannot change the resolution in tilecache or openlayers without interfering with my main map and causing shifted/incorrectly positioned data. I changed the overview to use the isSuitableOverview function as well but this has not solved the problem. OL: var