[ms4w-users] help with legend template
jmckenna at dmsolutions.ca
Mon Oct 15 10:38:08 EDT 2007
hmmm. Look at section 1.4.5 of the html_legends doc
would try that example:
e.g. opt_flag=14 (shown below) means do not show classes in the legend
that are out of scale.
ceri whitmore wrote:
> 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
> [leg_class_html visibility_flag=15]
> <td><img src ="[leg_icon width=20 height=10]" /></td>
DM Solutions Group Inc.
More information about the ms4w-users