[Mapserver-users] Expand and collapse legend

Stepan Kafka stepan.kafka at centrum.cz
Mon May 26 08:41:29 EDT 2003


This is a multi-part message in MIME format.

------=_NextPart_000_0014_01C32394.E4AB2820
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

Expand and collapse legendHi, Charles,
    mapserver allows using HTML legend (see documentation or Wiki for
examples). Then in html code you can use <DIV> blocks to be visible or
non-visible (style="display:block" or "display:none"). Thru javascript you
will be able to control the block visibility.

You can see similar example at:
http://212.158.143.148/mapserv/oprl/oprl_en.html

Stepan Kafka
Help Service Remote Sensing
tel: +420-327514118
mailto:kafka at email.cz
http://www.bnhelp.cz

  -----Puvodní zpráva-----
  Od: mapserver-users-admin at lists.gis.umn.edu
[mailto:mapserver-users-admin at lists.gis.umn.edu]za uživatele Charles Young
  Odesláno: 26. kvetna 2003 12:54
  Komu: mapserver-users at lists.gis.umn.edu
  Predmet: [Mapserver-users] Expand and collapse legend


  Hi,

  Does anyone know of a way to allow users to expand and collapse the legend
thereby allowing a number of classifications?


  Best Regards

  Charles Young

  Director: Business Development

  ------------------------------------------------------
  Spatial Dimension Pty LTD
  Cape Town

  South Africa
  Tel:  +2721 531 3132
  Fax: +2721 531 4209
  Cell:  083 679 1789

  Web: www.spatialdimension.co.za
  ------------------------------------------------------

  "Every man dies, but not every man lives."


---
Odchozí zpráva neobsahuje viry.
Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
Verze: 6.0.483 / Virová báze: 279 - datum vydání: 19.5.2003

------=_NextPart_000_0014_01C32394.E4AB2820
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Expand and collapse legend</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D116412412-26052003><FONT face=3DArial color=3D#0000ff =
size=3D2>Hi,=20
Charles,</FONT></SPAN></DIV>
<DIV><SPAN class=3D116412412-26052003><FONT face=3DArial color=3D#0000ff =

size=3D2>&nbsp;&nbsp;&nbsp; mapserver allows using HTML legend (see =
documentation=20
or Wiki for examples). Then in html code you can use &lt;DIV&gt; blocks =
to be=20
visible or non-visible (style=3D"display:block" or "display:none"). Thru =

javascript you will be able to control the block =
visibility.</FONT></SPAN></DIV>
<DIV><SPAN class=3D116412412-26052003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D116412412-26052003><FONT face=3DArial color=3D#0000ff =
size=3D2>You=20
can see similar example at: <A=20
href=3D"http://212.158.143.148/mapserv/oprl/oprl_en.html">http://212.158.=
143.148/mapserv/oprl/oprl_en.html</A></FONT></SPAN></DIV>
<DIV><SPAN class=3D116412412-26052003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D116412412-26052003>
<P><FONT size=3D2><SPAN class=3D116412412-26052003>Stepan Kafka=20
<BR></SPAN></FONT><FONT size=3D2>Help Service Remote Sensing<BR>tel:=20
+420-327514118<BR></FONT><A href=3D"mailto:kafka at email.cz" =
target=3D_blank><FONT=20
size=3D2>mailto:kafka at email.cz</FONT></A><BR><A =
href=3D"http://www.bnhelp.cz/"=20
target=3D_blank><FONT size=3D2>http://www.bnhelp.cz</FONT></A><FONT =
size=3D2>=20
</FONT></P></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader><FONT size=3D2>-----P&#367;vodn=ED=20
  zpr=E1va-----<BR><B>Od:</B> mapserver-users-admin at lists.gis.umn.edu=20
  [mailto:mapserver-users-admin at lists.gis.umn.edu]<B>za u=9Eivatele</B> =
Charles=20
  Young<BR><B>Odesl=E1no:</B> 26. kv&#283;tna 2003 12:54<BR><B>Komu:</B> =

  mapserver-users at lists.gis.umn.edu<BR><B>P&#345;edm&#283;t:</B> =
[Mapserver-users] Expand=20
  and collapse legend<BR><BR></FONT></DIV><!-- Converted from text/rtf =
format -->
  <P align=3Dleft><SPAN lang=3Den-gb><FONT face=3DArial size=3D2>Hi, =
</FONT></SPAN></P>
  <P align=3Dleft><SPAN lang=3Den-gb><FONT face=3DArial size=3D2>Does =
anyone know of a=20
  way to allow users to</FONT></SPAN><SPAN lang=3Den-gb></SPAN><SPAN =
lang=3Den-gb>=20
  <FONT face=3DArial size=3D2>expand and collapse</FONT></SPAN><SPAN=20
  lang=3Den-gb></SPAN><SPAN lang=3Den-gb> <FONT face=3DArial=20
  size=3D2>the</FONT></SPAN><SPAN lang=3Den-gb></SPAN><SPAN =
lang=3Den-gb> <FONT=20
  face=3DArial size=3D2>legend</FONT></SPAN><SPAN =
lang=3Den-gb></SPAN><SPAN=20
  lang=3Den-gb><FONT face=3DArial size=3D2> thereby allowing a number=20
  of</FONT></SPAN><SPAN lang=3Den-gb></SPAN><SPAN lang=3Den-gb> <FONT =
face=3DArial=20
  size=3D2>classifications</FONT></SPAN><SPAN lang=3Den-gb></SPAN><SPAN=20
  lang=3Den-gb><FONT face=3DArial size=3D2>?</FONT></SPAN><SPAN=20
  lang=3Den-gb></SPAN><SPAN lang=3Den-gb></SPAN></P>
  <P align=3Dleft><SPAN lang=3Den></SPAN><A name=3D""><SPAN =
lang=3Den></SPAN></A></P>
  <P align=3Dleft><SPAN lang=3Den><FONT face=3DArial size=3D2>Best=20
  Regards</FONT></SPAN></P>
  <P align=3Dleft><SPAN lang=3Den><FONT face=3DArial size=3D2>Charles=20
  Young</FONT></SPAN></P>
  <P align=3Dleft><SPAN lang=3Den><FONT face=3DArial size=3D2>Director: =
Business=20
  Development</FONT></SPAN></P>
  <P align=3Dleft><SPAN lang=3Den><FONT=20
  =
size=3D2>------------------------------------------------------<BR>Spatia=
l=20
  Dimension Pty LTD<BR>Cape Town</FONT></SPAN></P>
  <P align=3Dleft><SPAN lang=3Den><FONT size=3D2>South =
Africa<BR>Tel:&nbsp; +2721 531=20
  3132<BR>Fax: +2721 531 4209<BR>Cell:&nbsp; 083 679 =
1789</FONT></SPAN></P>
  <P align=3Dleft><SPAN lang=3Den><FONT size=3D2>Web:</FONT></SPAN><SPAN =

  lang=3Den-gb></SPAN><SPAN lang=3Den-gb><U></U></SPAN><U><SPAN =
lang=3Den> <FONT=20
  color=3D#0000ff =
size=3D2>www.spatialdimension.co.za</FONT></SPAN></U><SPAN=20
  lang=3Den-gb></SPAN><SPAN lang=3Den-gb></SPAN><SPAN =
lang=3Den><BR><FONT=20
  =
size=3D2>------------------------------------------------------</FONT></S=
PAN><SPAN=20
  lang=3Den-gb></SPAN><SPAN lang=3Den></SPAN></P>
  <P align=3Dleft><SPAN lang=3Den><FONT size=3D2>"Every man dies, but =
not every man=20
  lives."</FONT></SPAN><SPAN lang=3Den-gb></SPAN><SPAN =
lang=3Den-gb></SPAN><SPAN=20
  lang=3Den></SPAN></P>
  <P align=3Dleft><SPAN =
lang=3Den-gb></SPAN></P></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0014_01C32394.E4AB2820--




More information about the mapserver-users mailing list