[Mapserver-users] legend question

Map Surfers map_surfer at yahoo.com
Tue Sep 9 12:32:02 PDT 2003


How would I make it so that the classes only displayed
if a user selected the layer/group to display?

[leg_group_html]
<tr>
  <td colspan="2" bgcolor="#CCCCCC"><font
face="Verdana, Arial, Helvetica" size="-1">
    <input type="checkbox" name="layer_status[]"
value="[layer_group_name]" [if name=layer_status
oper=eq value=1]CHECKED[/if][if name=layer_status
oper=eq value=2]CHECKED[/if]>
     <b>[leg_group_name]</b>
  </font></td>
</tr>
[/leg_group_html]

[leg_class_html]
<tr>
  <td align="center" valign="top"><font face="Verdana,
Arial, Helvetica" size="-1">
    <img src="[leg_icon width=18 height=10]"
width="20" height="10">
  </font></td>
  <td><font face="Verdana, Arial, Helvetica"
size="-1">
    [leg_class_name]
  </font></td>
</tr>
[/leg_class_html]

TIA,

Damian

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com



More information about the MapServer-users mailing list