Opened 20 years ago

Closed 19 years ago

#487 closed defect (fixed)

[Documentation] Mention default colours for scalebar

Reported by: warnock@… Owned by: jmckenna@…
Priority: high Milestone:
Component: Documentation - MapServer Version: 4.0
Severity: normal Keywords:
Cc: jdoyon@…, jmckenna@…

Description

as I was working today, I had a scalebar with white (255 255 255) for the COLOR
and nothing for the IMAGECOLOR and was scratching my head as to why the bars
that were supposed to be white were transparent.  the reason is of course that
TRANSPARENT defaults to on, and IMAGECOLOR defaults to white.... so if white was
transparent then of course anything that was white would be transparent.

maybe someone could confirm that?

The documantation make no mention of default colors, and likely should.

Change History (5)

comment:1 by dmorissette, 20 years ago

Owner: changed from vrraju@… to kgeurts@…
Was assigned to Raju who is currently away. Reassigned to Kari.

comment:2 by sdlime, 20 years ago

Owner: changed from kgeurts@… to sdlime
I'll research and then reassign back to you so you can fix it or reassign 
yourself...

Steve

comment:3 by jmckenna@…, 20 years ago

let me know if the docs need updating for this.

comment:4 by jmckenna@…, 19 years ago

Cc: jmckenna@… added
Owner: changed from sdlime to jmckenna@…
working on this now

comment:5 by jmckenna@…, 19 years ago

Resolution: fixed
Status: newclosed
after discussions with fred, we discovered that the problem was the description
for the scalebar's TRANSPARENT parameter.  Updated 4.4 and 4.6 mapfile-reference
doc to say the following for transparent:

'Should the IMAGECOLOR for the scalebar be transparent. Note that if any other
scalebar parameters (COLOR, BACKGROUNDCOLOR, OUTLINECOLOR) have the same RGB
values as the IMAGECOLOR they will also become transparent.'
Note: See TracTickets for help on using tickets.