<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>Hide Layers on HTML legend where filtered results are null</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2 FACE="Arial">I've waded through hundreds and hundreds of archived messages and have not found any guidance and am hoping someone can point me in the right direction.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">I am displaying layers on an HTML legend</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">The content of those layers is controlled by passing a filter value as part of my GET string (map_mylayername_filter=somevalue)</FONT></P>

<P><FONT SIZE=2 FACE="Arial">If the filter doesn't &quot;find&quot; any records, I would like to be able to hide that layer on my legend</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Any tips/guidance that anyone could provide would be greatly appreciated</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">MapServer 3.6.1, WinNT/IIS4 - Win2000/IIS5</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Thanks</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">*************************************************************************************************************</FONT>
<BR><FONT SIZE=2 FACE="Arial">Steve Palmer</FONT>
<BR><FONT SIZE=2 FACE="Arial">GIS Developer</FONT>
<BR><FONT SIZE=2 FACE="Arial">406-728-9323 x206<B></B></FONT>
</P>

</BODY>
</HTML>