[mapserver-dev] Scalebar transparency & mapscript

Steve Lime sdlime at gmail.com
Wed Jul 13 18:51:43 EDT 2011


So transparent by default? No objection here... Steve

On Wed, Jul 13, 2011 at 2:07 PM, Tamas Szekeres <szekerest at gmail.com> wrote:

> 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,
>
> Tamas
>
>
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20110713/b04b1a7f/attachment.html


More information about the mapserver-dev mailing list