Opened 22 years ago

Closed 21 years ago

#202 closed defect (fixed)

A scalebar TRANSPARENT parameter does not work

Reported by: tokr@… Owned by: sdlime
Priority: high Milestone:
Component: MapServer CGI Version: 4.0
Severity: normal Keywords:
Cc:

Description

A scalebar TRANSPARENT parameter is ignored and the scalebar background 
transparency is driven by the TRANSPARENT parameter for a whole map.

Attachments (1)

scalebar.map (607 bytes ) - added by tokr@… 21 years ago.
SCALEBAR transparent parameter test

Download all attachments as: .zip

Change History (6)

comment:1 by fwarmerdam, 21 years ago

Owner: changed from sdlime to fwarmerdam
Steve,

I believe this is probably broken by my outputFormatObj changes, so I will take
it.  Let me know if you want it back!



comment:2 by fwarmerdam, 21 years ago

Cc: warmerdam@… added
Owner: changed from fwarmerdam to sdlime
I stand corrected ... I see this is a problem with MapServer 3.6.  Returning
to Steve.  Tomas, would it be possible to attach a simple example demonstrating
the problem?  I would like to add a testsuite check for this in 3.7.


by tokr@…, 21 years ago

Attachment: scalebar.map added

SCALEBAR transparent parameter test

comment:3 by fwarmerdam, 21 years ago

I would like to note that this bug also existed in 3.7, and I have fixed it 
there.  However, I believe the code implementations for creating the image
are fairly different between the two version in msDrawScalebar() because I
introduced use of outputFormatObj and actually used an imageObj for scalebars. 


comment:4 by sdlime, 21 years ago

I'm thinking that this is not work going back to 3.6 for a fix although it 
sounds pretty trivial (use map->scalbar.transparent instead of map->transparent 
correct?). I could be convinced otherwise though.

comment:5 by dmorissette, 21 years ago

Cc: morissette@… added
Resolution: fixed
Status: newclosed
Version: 3.64.0
Since we are unlikely to release another 3.6.x version and this was fixed in 
4.0 by Frank, I'll mark this as fixed for 4.0.  Please reopen if that wasn't the 
right thing to do.
Note: See TracTickets for help on using tickets.