Opened 15 years ago

Closed 15 years ago

#2917 closed enhancement (fixed)

EnhaNcement of annotations legendicon rendering

Reported by: tof Owned by: tbonfort
Priority: normal Milestone:
Component: MapServer C Library Version: unspecified
Severity: normal Keywords: icon legend annotation layer
Cc: tamas

Description

Hi all :-)

Only a few mapfile properties of annotations layers are used for the icon legend. Can we take into consideration the other properties (background, backgroundshadow, font size, ...) of the mapfile LABEL BLOCK ?

Attachments (1)

annotation.diff (10.6 KB ) - added by tbonfort 15 years ago.
annotation legend patch

Download all attachments as: .zip

Change History (4)

by tbonfort, 15 years ago

Attachment: annotation.diff added

annotation legend patch

comment:1 by tbonfort, 15 years ago

Cc: tamas added
Owner: changed from sdlime to tbonfort
Status: newassigned

patch to enable all label properties to be rendered for annotation layers.

for a given class, the code either renders the legend of the marker symbol if some style blocks were defined, or renders as previously the letters "Az", but with the full label styling (eg backgroundcolor, etc...)

Tamas, does this behavior suit you, or would you prefer we keep rendering the label, even if a a marker was defined?

in reply to:  1 comment:2 by tamas, 15 years ago

Replying to tbonfort:

patch to enable all label properties to be rendered for annotation layers.

for a given class, the code either renders the legend of the marker symbol if some style blocks were defined, or renders as previously the letters "Az", but with the full label styling (eg backgroundcolor, etc...)

Tamas, does this behavior suit you, or would you prefer we keep rendering the label, even if a a marker was defined?

Yes, I'm fine with this. My only intent was to replace the blank spaces in the legend with some meaningful images. I see you continue to use fixed label sizes in the legend icons which seems to be the right choice instead of taking over the actual size of the label.

comment:3 by tbonfort, 15 years ago

Resolution: fixed
Status: assignedclosed

committed in r8650

closing

Note: See TracTickets for help on using tickets.