[Mapserver-users] CreateLegendIcon and FAQ suggestion
Daniel Morissette
dmorissette at dmsolutions.ca
Mon Jul 12 21:56:40 PDT 2004
Murilo Lacerda Yoshida wrote:
> The problem is this. I used the FAQ suggestion about how to set a line
> width. OK, it works fine.
>
> I have four layer of lines that were changed as the FAQ says.
>
> But now when I draw the legend for that four layers, they are all
> drawn in the same color, that is the color of the first layer drawn. The
> legend icon still is a line, but with more width (as
> I have set in my mapfile).
>
> Help me, please. I dont know why this is happening
and I cant see
> anything wrong in the mapfile
>
You didn't mention the version you're using, but we'll assume it's 4.0
or older. There was a problem with color of legend icons in v4.0 that
was fixed in v4.2. You should try to upgrade to v4.2. See:
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=608
--
------------------------------------------------------------
Daniel Morissette dmorissette at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
More information about the MapServer-users
mailing list