[Mapserver-users] [leg_layer_html] block and classes...

Jean-Francois.Doyon at CCRS.NRCan.gc.ca Jean-Francois.Doyon at CCRS.NRCan.gc.ca
Wed Jun 25 13:27:39 EDT 2003


Steve,

Check the opt_flag parameter to the leg_layer_html ... It controls what
you're trying to control, and it's in the docs.

Admitedly, maybe the default behavior should be changed though ...

J.F.

-----Original Message-----
From: Steve Lime [mailto:steve.lime at dnr.state.mn.us]
Sent: Wednesday, June 25, 2003 1:01 PM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] [leg_layer_html] block and classes...


Folks: It seems that if a class does not have a NAME set then it won't
show in the legend, make sense since that's how image legends work (yes,
there are other options, but in). However the [leg_layer_html] block
will still be output for that layer. Seems counter intuitive to me. I
would expect that if there are no classes to show then  you wouldn't
want the layer header stuff either. Or am I just missing someting. I
imagine I can work around it with metadata but it feels like I shouldn't
have to.

Steve

Stephen Lime
Data & Applications Manager

Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937
_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users



More information about the mapserver-users mailing list