[ms4w-users] help with legend template
ceri.whitmore at hotmail.co.uk
Fri Oct 5 05:57:11 EDT 2007
I'm new to mapserver and would like to use a legend template.
I've created a template as below:
The problem i'm having is the visibility flag for the classes is not working. Classes which are out of scale (maxscale) are still showing up in the legend. I've done a test and when using the embed option for the legend these same classes are not showing(which is what i'd expect).
Any help or ideas would be appreciated.
[if name=layer_status oper=eq value=1]<tr id='layer'><td colspan='2'>[leg_layer_name]</td></tr>[/if]
<td><img src ="[leg_icon width=20 height=10]" /></td>
Feel like a local wherever you go.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ms4w-users