[Mapbender-dev] mod_printPDF.php: mb_getscale

Thomas Baschetti Thomas.Baschetti at gmx.de
Tue Jul 15 09:12:36 EDT 2008


Hi devs,

a question regarding http://trac.osgeo.org/mapbender/ticket/205

In mod_printPDF.php in line 211 it says
pt.mb_repaintScale(target, null, null, pt.mb_getScale(target));

Problem: the scale of the map changed in this function due 
to rounding issues in mod_printPDF.php and printPDF.conf.

Is there any reason why it is implemented like this? I would like
to change it (see attached patch), but i'm not sure whether there are
any side-effects.

Comments?

Ciao
Thomas


-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mod_printPDF.php.patch
Type: application/octet-stream
Size: 949 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapbender_dev/attachments/20080715/0e621c5e/mod_printPDF.php.obj


More information about the Mapbender_dev mailing list