Opened 20 years ago
Closed 19 years ago
#487 closed defect (fixed)
[Documentation] Mention default colours for scalebar
Reported by: | Owned by: | ||
---|---|---|---|
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:2 by , 20 years ago
Owner: | changed from | to
---|
I'll research and then reassign back to you so you can fix it or reassign yourself... Steve
comment:5 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
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.