[Cartoweb-users] Problem with pdfRotate

Dirk Jesko ml.dje at geocontent.de
Tue Jun 5 03:41:25 EDT 2007


Hello,

I just came across the following problem: If the preview rectangle for 
the pdf export was outside the visible map once, it can not be moved 
anymore. I could reproduce this with the demoCW3 project using the 
following procedure:

1. open the demoCW3 project and login so pdf export is available
2. zoom into the map somewhere, e.g. set a scale of 1:750.000
3. activate pdfrotate - the rectangle can be moved now
4. using the pan tool, move the map so the area that was covered by the 
pdf preview is completely outside the visible map area
5. go back to the previous extent, either using the pan tool or 
"previous" from the new bboxHistory plugin
6. activate pdfrotate again

Now it is possible to change all settings of the preview rectangle, i.e. 
scale, format, orientation, but it is not possible to move the rectangle 
anymore.

I would like to know if someone can reproduce this behavior and if there 
is a solution. There are no JavaScript errors. Also, I updated to the 
current CVS version yesterday.

Further, I would like to know, how the position of the preview rectangle 
can be reset. I.e. if pdfrotate is activated, I would like to position 
the rectangle centered at the current map. Currently it stays at its 
last position and is often not visible if the map was moved.


Regards,
Dirk


More information about the Cartoweb-users mailing list