Opened 13 years ago
Last modified 13 years ago
#3740 new defect
add opacity to legend
Reported by: | msmitherdc | Owned by: | aboudreault |
---|---|---|---|
Priority: | normal | Milestone: | 6.0 release |
Component: | MapServer C Library | Version: | svn-trunk (development) |
Severity: | normal | Keywords: | legend, opacity, renderer |
Cc: | dmorisette, sdlime, tbonfort |
Description
currently, when a legend is drawn for a layer that has opacity, the legend is drawn with 100% opacity. It should draw with the same opacity as what it represents.
Change History (2)
comment:1 by , 13 years ago
Cc: | added |
---|
comment:2 by , 13 years ago
tbonfort, the change I'm talking about is in mapdraw.c of the changeset. The other changes are related to this ticket itself. Note that the legend now also support the alternate renderer as well.
Note:
See TracTickets
for help on using tickets.
Fixed and committed in r11467.
tbonfort, could you review my changeset please? While working on this ticket, I noticed that there was a memory leak when a layer was using OPACITY or that the layer was using an alternate renderer. I basicly only modified a renderer->freeImage() by a msFreeImage(). I just want to be sure I haven't broken anything. You can close the ticket if everything looks good.