[mapserver-users] html legend template
fx gamoy
fx.gamoy at geomatika.fr
Wed Oct 5 06:49:08 PDT 2011
Hello,
i have solved the problem using PHP
Best regards,
FX GAMOY
*Géomatika*
Technopole Izarbel
Créaticité - Bâtiment B
64210 BIDART
Tél : 05 59 22 32 58 / 06 87 39 32 03
http://www.geomatika.fr/
Le 28/09/2011 21:55, fx gamoy a écrit :
> 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
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20111005/2f8c47b2/attachment.htm>
More information about the MapServer-users
mailing list