[Mapserver-users] [PHP/MS 3.7-dev]: setRGB() conflicts with createLegendIcon() ?

Daniel Morissette morissette at dmsolutions.ca
Fri Feb 21 16:15:54 EST 2003


Vinko Vrsalovic wrote:
> 
> When using setRGB, and then createLegendIcon(), the color drawn is not the
> one I set, but another (apparently random) one. But, if I use
> map->save() and create a mapObj from the saved one, and draw an image using
> the saved mapfile, it shows the correct color.
> 

FYI I think this must be related to a color handling problem described
in bugs 276 and 275:
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=276
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=275

-- 
------------------------------------------------------------
 Daniel Morissette               morissette at dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------



More information about the mapserver-users mailing list