Ticket #2917 (closed enhancement: fixed)

Opened 4 years ago

Last modified 4 years ago

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

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

Change History

Changed 4 years ago by tbonfort

annotation legend patch

follow-up: ↓ 2   Changed 4 years ago by tbonfort

  • cc tamas added
  • owner changed from sdlime to tbonfort
  • status changed from new to assigned

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   Changed 4 years ago by tamas

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.

  Changed 4 years ago by tbonfort

  • status changed from assigned to closed
  • resolution set to fixed

committed in r8650

closing

Note: See TracTickets for help on using tickets.