close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 13 years ago

Last modified 12 years ago

#1384 accepted task

legend in mapviewer

Reported by: Jorge Owned by: Jorge
Priority: high Milestone: TOL Packages
Component: GUI Tol Packages Version: head
Severity: critical Keywords: GIS
Cc: Javier Portugal, Víctor de Buen Remiro

Description

Implement a legend in MapViewer

Change History (5)

comment:1 Changed 12 years ago by Jorge

Status: newaccepted

comment:2 Changed 12 years ago by Jorge

(In [5690]) refs #1384, GeoGraph show a legend at the NE corner.

Still pending:

  • -legendsize: now it defaults to a legend with size 10
  • propagate events to blt::graph
  • better choice of number of decimal shown
  • The color selection for the legend when the number of actual colors is bigger than the legend size must be more scattered.

comment:3 Changed 12 years ago by Jorge

Cc: Víctor de Buen Remiro added

comment:4 Changed 12 years ago by Jorge

(In [5691]) refs #1384, on windows (Tk 8.4) TkDefaultFont is not defined

comment:5 Changed 12 years ago by Jorge

(In [5692]) refs #1384, implementing new member in @GeoVariable for legend configuration:

  Set _.legendDef    = { [[ Real fontSize = 7,
                            Set labels = [["malo", "regular", "bueno", "excelente" ]] ]]};

  Set _.legendDef    = { [[ Real fontSize = 5, Real maxSize = 12 ]] };
Note: See TracTickets for help on using tickets.