[mapserver-dev] Transparent map with non-transparent legend

strk strk at keybit.net
Tue Mar 16 07:22:31 EDT 2010


Hi all,
I've been struggling for some time trying to get
a legend background color filled and finally sorted
into looking at the code.

I've found that IF the OUTPUTFORMAT (map-level) is set
to use transparency then the legend background won't
be set, due to msImageInitAGG checking OUTPUTFORMAT
before honouring the passed background.

If I understood correctly previous mapserver versions
allowed a TRANSPARENT setting for different objects
(layer/legend) but this is being deprecated.

Is there a way nowadays to get non-traspanrent-background
legend embedded into a transparent-background map ?

Thanks in advance.

--strk; 

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html


More information about the mapserver-dev mailing list