Opened 13 years ago
Closed 13 years ago
#3957 closed defect (fixed)
scalebar imagecolor should initialize to transparent by default
Reported by: | tamas | Owned by: | tamas |
---|---|---|---|
Priority: | normal | Milestone: | 6.2 release |
Component: | MapServer C Library | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
I have some difficulties setting the scalebar to transparent in mapscript. The problem is that we can set the imagecolor to empty but that value is not saved in the mapfile. When loading the same mapfile back again the scalebar imagecolor is initialized to 'white'. The scalebar transparency parameter is not exposed in mapscript (which is anyway marked as deprecated in the current documentation).
I think the most reasonable solution would is to initialize the scalebar imagecolor to empty value (-1,-1,-1) instead of (255,255,255) in initScalebar.
Change History (3)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Milestone: | 6.0.1 release → 6.2 release |
---|---|
Version: | 6.0 → unspecified |
comment:3 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Applied in trunk r11932