<br><font size=2 face="sans-serif">Hi,</font>
<br><font size=2 face="sans-serif">I'm starting using mode=legend and I
cannot get the proper STATUS value of my layers definition when STATUS
is ON. </font>
<br><font size=2 face="sans-serif">My mapfile contains 3 layers, one layer
has STATUS ON, another STATUS DEFAULT and the other STATUS OFF</font>
<br>
<br><font size=2 face="sans-serif">In the result of mode=legend I get layer_status
= 0 for layers having STATUS ON or OFF.</font>
<br><font size=2 face="sans-serif">I get layer_status = 2 when STATUS =
DEFAULT</font>
<br><font size=2 face="sans-serif">Here is the line in the template</font>
<br><font size=2 face="sans-serif">aszLegendArray[szGroup][nLayerId]["selected"]
= [if name=layer_status value=0]0[/if][if name=layer_status value=1]1[/if][if
name=layer_status value=2]1[/if];</font>
<br><font size=2 face="sans-serif"><br>
Should layer_status be equal to 1 when STATUS ON?</font>
<br><font size=2 face="sans-serif">thanks</font>
<br><font size=2 face="sans-serif">Steve</font>