[Mapserver-users] Problem with html legend
Valerio Noti
noti@ciaoweb.it
Tue, 25 May 2004 17:24:43 +0200
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
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users