Opened 16 years ago

Closed 14 years ago

#205 closed defect (fixed)

selecting print-format changes mapscale

Reported by: tbaschetti Owned by: mapbender_dev@…
Priority: minor Milestone: 2.6.1 release
Component: print Version: 2.6.1
Keywords: Cc:

Description

Changing print format may change scale of map, to reproduce this behaviour:

  • Select mapscale, eg. 1:2000
  • open print dialog
  • set paper size (eg A4)
  • set paper format (eg landscale)

=> mapscale changes slightly to 1:2001

seems to be a rounding error

Change History (4)

comment:1 by christoph, 16 years ago

Milestone: 2.5 release2.6 release

comment:2 by tbaschetti, 16 years ago

Milestone: 2.6 release2.5 release
Resolution: fixed
Status: newclosed

fixed by saving and restoring scale

comment:3 by tbaschetti, 14 years ago

Milestone: 2.5 release2.6.1
Resolution: fixed
Status: closedreopened
Version: 2.4.42.6

as mb_repaintScale isn't used in 2.6 (instead mb_repaint) the fix above doesn't work anymore.

comment:4 by tbaschetti, 14 years ago

Resolution: fixed
Status: reopenedclosed
Version: 2.62.6.1

reapplied fix, if this breaks something for others please report!

Note: See TracTickets for help on using tickets.