Opened 12 years ago

Closed 12 years ago

#337 closed enhancement (fixed)

GeoExtPrintForm - show current map scale

Reported by: adube Owned by:
Priority: major Milestone: 1.0.0
Component: widgets Version:
Keywords: Cc:

Description

Explanation

The GeoExtPrintForm widget automatically change the print scale that best fits the current map viewport, but that can sometimes result in having a printed map much different than the map on the screen because the size of the print zone represent the map image size in the pdf, which never changes. So, changing the print scale change the actual scale used to print the map.

This is okay, but the user should at least be made aware of this with some kind of message.

Todo

  • add the current map scale for informative purpose (read-only) in the form
  • show a "warning" message of some sort if the current print scale is different than the current map scale.

Change History (1)

comment:1 by adube, 12 years ago

Resolution: fixed
Status: newclosed

Fixed in r1172, featuring :

  • a new org.GeoPrisma.form.MapScaleLabel class used to show the current map scale as a Ext.form.Label.
  • listen to map and printPage events to show a warning tooltip if the scales are not the same.
Note: See TracTickets for help on using tickets.