[Mapserver-users] Problem with html legend
Valerio Noti
noti at ciaoweb.it
Tue May 25 08:24:43 PDT 2004
Hi all,
I have a mapfile with grouped layers (Name set to "" and group with a
certain name).
I'm trying to set an html legend in order to display color classes only for
visible groups(= groups checked).
This is the mapfile:
LAYER
NAME ""
GROUP "Geology"
....
END
LAYER
NAME ""
GROUP "Geology"
...
END
LAYER
NAME ""
GROUP "Hydrography"
...
END
LAYER
NAME ""
GROUP "Hydrography"
...
END
In other words, when group "Geology" is checked, color classes have to
display in legend. The same thing for Hydrography.
The parameter "layer_status" seems to work only if layer name is not empty
and I tried with various opt_flags but without success.
Any help appreciated
Thanks
Valerio
More information about the MapServer-users
mailing list