smas1 / geoext-viewer

Automatically exported from code.google.com/p/geoext-viewer
GNU General Public License v3.0
0 stars 0 forks source link

PrintDirect prints with bad scale (with one step) #384

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open the printdialog example: 
http://lib.heron-mc.org/heron/1.0.2/examples/printdirect/index.html
2. Check the scale value (hover over the zoom slider, it will be "1 : 3000").
3. Push the PrintDirect button with FireBug opened. 

What is the expected output? What do you see instead?
Expected output: the pages[0].scale should be 3000
Instead: 5000, and the map is in fact printed in 5000 instead of 3000. With 
different scales the result is the same, always one step greater number is 
printed.

What version of the product are you using? On what operating system?
I'm using 1.0.1, but on the example which is 1.0.2 the issue is the same.

Original issue reported on code.google.com by fegyi...@gmail.com on 29 May 2014 at 2:10