[mapserver-dev] Scalebar transparency & mapscript

Tamas Szekeres szekerest at gmail.com
Wed Jul 13 15:07:15 EDT 2011

Hi All,

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 be to initialize the scalebar
imagecolor to empty value (-1,-1,-1) instead of (255,255,255) in
loadScalebar. Any objection to this change?

Best regards,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20110713/3ae5b727/attachment.html

More information about the mapserver-dev mailing list