Hi,
I'm starting using mode=legend and I cannot get the proper STATUS value of
my layers definition when STATUS is ON.
My mapfile contains 3 layers, one layer has STATUS ON, another STATUS
DEFAULT and the other STATUS OFF
In the result of mode=legend I get layer_status = 0 for layers having
STATUS ON or OFF.
I get layer_status = 2 when STATUS = DEFAULT
Here is the line in the template
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];
Should layer_status be equal to 1 when STATUS ON?
thanks
Steve
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users