[ms4w-users] help with legend template

ceri whitmore ceri.whitmore at hotmail.co.uk
Fri Oct 5 05:57:11 EDT 2007

Hi all

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. 



            [leg_layer_html visibility_flag=15]
        [if name=layer_status oper=eq value=1]<tr id='layer'><td colspan='2'>[leg_layer_name]</td></tr>[/if]
[leg_class_html visibility_flag=15]
 <td><img src ="[leg_icon width=20 height=10]" /></td>

Feel like a local wherever you go.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ms4w-users/attachments/20071005/2722dc14/attachment.html

More information about the ms4w-users mailing list