highlite again!

Trimble, Beheen btrimble at SFWMD.GOV
Tue Oct 10 11:01:01 EDT 2006


Would someone please tell me how to change this page to highlite the
selected feature? I have the querymap in my mapfile.

If you please make the query string in the nueva function I appreciate. 

 

 

Beheen

 

================

 

<html>

<FONT face="helvetica">

<head>

<title>Performance Measure Graphics Viewer</title>

</head>

 

<SCRIPT LANGUAGE="JavaScript">

 

 

 

function nueva(){

 

  if (document.getElementById("mode").checked==false )

  { document.getElementById("mapserver").target="_blank";}

  else

  { document.getElementById("mapserver").target="mapa"; }

  }

 

function init(){

  window.name="mapa";

}

</SCRIPT>

 

<body onLoad="init();" bgcolor="#ffffff">

<center><h2>LECSR North Palm Beach - 2000 </h2></center>

<hr>

<form method="GET" id="mapserver" action="[program]" name="mapserv">

<center>

<table border="0" cellspacing="0" cellpadding="4">

  <tr>

    <td valign="top" align="center">

      <table width="390" border="0" cellspacing="0" cellpadding="4"
align="center" bgcolor="#666666">

        <tr>

          <td align="center"><input type="image" name="img" src="[img]"
width="[mapwidth]" height="[mapheight]" border="0" alt="this is the map"
</td>

        </tr>

        <tr>

          <td bgcolor="#666666">

            <img title="scalebar (mi)" alt="scalebar (mi)"
src="[scalebar]">

          </td>

        </tr>

      </table>

    </td>

    <td valign="top" bgcolor="#ffffff">

      <table cellpadding="5" cellspacing="0" border="0"
bgcolor="#ffffff">

        <tr>

          <td>

            <center><input type="submit" value="Refresh/Query"></center>

            <p>

            <input type="radio" name="mode" value="browse" checked>
<b>Browse map</b><br>

            <input type="radio" name="mode" value="query"
onClick="nueva();" > <b>Query feature</b><br>

            <input type="radio" name="mode" value="nquery"
onClick="nueva();" > <b>Query multiple features</b>

            <hr>

            <p>

            <b>Select Layers to Display: </b><br>

            <select multiple name="layer" size=3>

              <option value="lecsr_subareas" [lecsr_subareas_select]>
Lecsr Subareas

              <option value="lecsr_budget" [lecsr_budget_select]> Lecsr
Budget

              <option value="lecsr_ir" [lecsr_ir_select]> Lecsr Ir

              <option value="lecsr_strucflow" [lecsr_strucflow_select]>
Lecsr Strucflow

              <option value="lecsr_gwstage" [lecsr_gwstage_select]>
Lecsr Gwstage

            </select>

            <p>

            Zoom In <input type=radio name=zoomdir value=1
[zoomdir_1_check]>

            Pan <input type=radio name=zoomdir value=0
[zoomdir_0_check]>

            Zoom Out <input type=radio name=zoomdir value=-1
[zoomdir_-1_check]>

            <p>

            Zoom Size <input type=text name=zoomsize size=4
value=[zoomsize]>

            <p>

            <b>Select a PMSet to Query: </b><br>

            <select single name="pmset" size=2>

              <option value="2000b 2050b alt2c alt2d"> 2000b 2050b alt2c
alt2d

            </select>

            <p>

            <font size=+1><b>Legend</b></font><br><hr>

            <img src="[legend]"><hr>

            <p>

            <left><input name="ref" type="image" src="[ref]"
border="0"></left>

          </td>

        </tr>

      </table>

    </td>

  </tr>

</table>

</center>

<input type="hidden" name="imgxy" value="[center]">

<input type="hidden" name="imgext" value="[mapext]">

<input type="hidden" name="map" value="[map]">

<input type="hidden" name="root" value="[root]">

<input type="hidden" name="savequery" value="true">

<input type="hidden" name="program" value="[program]">

<input type="hidden" name="map_web_imagepath"
value="[map_web_imagepath]">

<input type="hidden" name="map_web_imageurl" value="[map_web_imageurl]">

<input type="hidden" name="map_web_template" value="[map_web_template]">

</form>

</font>

</body></html>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20061010/c4a5a8c7/attachment.html


More information about the mapserver-users mailing list