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

Vinko Vrsalovic vinko at cprsig.cl
Mon Feb 24 23:49:47 EST 2003


On Fri, Feb 21, 2003 at 11:06:24PM -0600, Steve Lime wrote:
> I checked the code that builds a legend icon and indeed
> it does not reset the pen values prior rendering the icon. This is
> consistent with the behavior Vinko described. If a map were rendered and
> then legend icons were created the icons would have been built using
> color index values from the map. That's bad, and has been fixed in the
> CVS version. If someone would confirm the fix...


After a few headaches, I'm able to confirm the fix works.

-- 
Vinko Vrsalovic <el[|- at -|]vinko.cl>
http://www.cprsig.cl



More information about the mapserver-users mailing list