[Mapbender-dev] mod_printPDF.php: mb_getscale

Marc Jansen jansen.marc at gmx.de
Tue Jul 15 09:32:25 EDT 2008


Hi Thomas,

seems ok at first glance and makes perfect sense.

-- Marc

Thomas Baschetti schrieb:
> 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
>
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Mapbender_dev mailing list
> Mapbender_dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_dev
>   



More information about the Mapbender_dev mailing list