Hi,<br><br>I&#39;d had a mapServer with WMS and visible by OpenLayers, in that there is a layer to &quot;use and occupation of the land&quot;, with several (19) types of use, with colors detailed with class/styles.<br>Recently I&#39;d make a run-time configuration filter to choose the exibition of this type of this use.<br>

The mapServer can be viewed here: <a href="http://globalgeosig.com.br/tizo">http://globalgeosig.com.br/tizo</a><br><br>Now I need to filter the legend to show only the selected types, and try to filter the legend to the only types showed at zoom level extension. <br>

I know that this kind of legend I had been used it&#39;s not apropriate, because it&#39;s an image only, and I know that I can make it with HTML template. But i can&#39;t find any way to filter those data.<br>Someone have any ideia about how can I do this. I think this perhaps will use mapscript (php or python) to build. There is right, or there is a possible feature withouth use the mapscript?<br>

I know that like the run-time filter I can &#39;redraw&#39; the map through javascript, I hope to find something similar to legends.<br><br>Thanks,<br><br clear="all"><p style="font-family:Corbel,Arial,Helvetica,sans-serif;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:14px">

</p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"></p><p style="font-family:Corbel,Arial,Helvetica,sans-serif;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:14px">

<table style="width:400px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:12px;color:rgb(51,51,51)"><tbody><tr><td><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:16px">

<b style="color:rgb(28,119,155)">Fernando Norte</b></p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">Desenvolvedor SIGWeb</p><p style="margin-top:20px;margin-right:0px;margin-bottom:0px;margin-left:0px">

tel.(31) 2533.9900</p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">cel.(31) 9119.8814</p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">skype: fernandoglobalgeo</p>

</td><td><img src="http://globalgeo.com.br/assinaturas/logo.png" style="display:block;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px" border="0"></td></tr></tbody></table></p><p style="color:rgb(51,51,51);font-size:12px;margin-top:20px;margin-right:0px;margin-bottom:0px;margin-left:0px">

Endereço: Alameda do Ingá, 88, 6º andar, Vale do Sereno</p><p style="color:rgb(51,51,51);font-size:12px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">Nova Lima/MG - CEP: 34.000-000</p><p style="color:rgb(51,51,51);font-size:12px;margin-top:5px;margin-right:0px;margin-bottom:30px;margin-left:0px">

<a href="http://www.globalgeo.com.br/" style="color:rgb(28,119,155);text-decoration:none;font-weight:bold" target="_blank">www.globalgeo.com.br</a></p><p style="color:rgb(51,51,51);font-size:9px">&quot;O presente documento pode conter material confidencial ou seu sigilo é protegido por lei.<br>

Quaisquer informações nele contida são destinadas exclusivamente ao(s) seu(s) destinatário(s)<br>não devendo em nenhuma hipótese ser repassado a terceiros&quot;.</p><p></p><p></p><p></p><br>