Hello I ve got somme difficulties with html legend and template
basic works fine. [leg_layer_html opt_flag=3]<table style="width:100%;margin:0px;padding:0;border-collapse:collapse;"> <tr><td class="corpsblack">[if name=layer_status oper=eq value=1]Hello[/if][if name=any_layer_metadata isset value=title][metadata name=title][/if] (<b>[leg_layer_minscale]</b>-<b>[leg_layer_maxscale]</b>)</td></tr></table>
[/leg_layer_html] The first "if" works fine -> if layer->status==MS_ON returns hello the second if don't work.i would like to get the value of the metadata "title" if the metadata is set for my layer but the "if" is not processed and the processing return the all if syntax witouth any translation...
you can see un screenshot in this email. mapserv-5.6.7on linux debian box.. Any suggestion will be appreciated.. Thanks Best regards, fx
<<attachment: legend.png>>
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
