[MapServer-users] Mapserver transparent legend

Sander Pukk sander.pukk at gmail.com
Thu Sep 14 05:05:36 PDT 2023


Hi!

For the life of me, I cant get the Legend background any other color than
white.
My request is fairly simple:
https://xxxx/mapserv?map=xxxxx.map&version=1.3.0&service=WMS&request=GetLegendGraphic&sld_version=1.1.0&layer=layer_name&format=image/png&STYLE=default

Is there a URL parameter I can add to change the color or transparent?
I have tried bgcolo(u)r, imagecolor, color etc. Tried a SLD_BODY as well,
but didnt change

Any ideas?

With kind regards,
Sander
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20230914/0203de36/attachment.htm>


More information about the MapServer-users mailing list