[mapserver-users] Hide Layers on HTML legend where filtered results are null
Palmer, Steve
Steve_Palmer@lpsg.com
Thu, 14 Nov 2002 11:27:01 -0600
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C28C03.0AF3DE20
Content-Type: text/plain;
charset="iso-8859-1"
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.
I am displaying layers on an HTML legend
The content of those layers is controlled by passing a filter value as part
of my GET string (map_mylayername_filter=somevalue)
If the filter doesn't "find" any records, I would like to be able to hide
that layer on my legend
Any tips/guidance that anyone could provide would be greatly appreciated
MapServer 3.6.1, WinNT/IIS4 - Win2000/IIS5
Thanks
****************************************************************************
*********************************
Steve Palmer
GIS Developer
406-728-9323 x206
------_=_NextPart_001_01C28C03.0AF3DE20
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"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=3D2 FACE=3D"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=3D2 FACE=3D"Arial">I am displaying layers on an HTML =
legend</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">The content of those layers is =
controlled by passing a filter value as part of my GET string =
(map_mylayername_filter=3Dsomevalue)</FONT></P>
<P><FONT SIZE=3D2 FACE=3D"Arial">If the filter doesn't "find" =
any records, I would like to be able to hide that layer on my =
legend</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Any tips/guidance that anyone could =
provide would be greatly appreciated</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">MapServer 3.6.1, WinNT/IIS4 - =
Win2000/IIS5</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks</FONT>
</P>
<P><FONT SIZE=3D2 =
FACE=3D"Arial">*********************************************************=
****************************************************</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Steve Palmer</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">GIS Developer</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">406-728-9323 x206<B></B></FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C28C03.0AF3DE20--