[Mapbender-dev] Re: #205: selecting print-format changes mapscale

Michael Schulz mschulz at webgis.de
Thu Mar 11 06:38:14 EST 2010


Hi Thomas,

I'm seeing the same error and am totally in favour of changing this back.

Cheers, Michael

2010/3/11 Thomas Baschetti <info at thomas-baschetti.de>:
> Hi,
>
> i'm just digging into this #205 again, and somehow i don't get it.
> In previous versions after changing params we called
>    pt.mb_repaintScale(target, null, null, prevscale);
> now we call
>    pt.mb_repaint(target, parseFloat(coord[0]), pos[1], pos[0],
> parseFloat(coord[3]));
> (In fact, both call setMapRequest in map_obj.js in the end)
>
> With repaintScale we preserve the scale, but with mb_repaint we get
> rounding errors.
> Is there any reason why it was changed this way?
>
> To confirm the error:
> fresh install of 2.6/2.6.1
> load gui1
> change scale to 1:1000
> open print
> set format to A4
> =>scale changed to 1:997
>
> Can we change this back?
>
> Thomas
>
> --
>
> Thomas Baschetti - Systemanalyse Geographische Informationssysteme
> Hakenstraße 8D
> 49074 Osnabrück
>
> Tel: 0541 25 91 90 | mobil 01577 189 25 91
> E-Mail: info at thomas-baschetti.de
> www.thomas-baschetti.de
> Ust-IdNr.: DE264355072
>
> _______________________________________________
> Mapbender_dev mailing list
> Mapbender_dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_dev
>



-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Aufwind durch Wissen!

Qualifizierte Open Source Schulungen bei der
http://www.foss-akademie.de/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-----------------------------------------------------------
Michael Schulz
mschulz at webgis.de

in medias res
Gesellschaft für Informationstechnologie mbH

+++ Bitte beachten Sie unsere neue Adresse und Durchwahl +++

Schwimmbadstraße 2
D-79100  Freiburg i. Br.

Tel:  +49 (0)761 705798-102
Tel:  +49 (0)761 705798-0
Fax: +49 (0)761 705798-09

+++ Bitte beachten Sie unsere neue Adresse und Durchwahl +++

http://www.webgis.de / http://www.zopecms.de
--------------------------------------------------------------
Geschäftsführer: Stefan Giese, Dr. Christof Lindenbeck
Eingetragen im Handelsregister HRB 5930 beim Amtsgericht Freiburg


More information about the Mapbender_dev mailing list