<HTML>
<HEAD>
<TITLE>Re: [mapserver-users] RE: Highlight</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Set the mapfile QUERYMAP style to highlight <a href="http://mapserver.org/mapfile/querymap.html">http://mapserver.org/mapfile/querymap.html</a>. &nbsp;&nbsp;Draw the map using drawQuery() instead of draw().<BR>
<BR>
$img = $map-&gt;drawQuery();<BR>
header('Content-Type: image/jpeg');<BR>
$img-&gt;saveImage(&quot;&quot;);<BR>
<BR>
On 4/9/09 1:31 PM, &quot;Jay Kapalczynski&quot; &lt;<a href="jkapalczynski@ci.maple-grove.mn.us">jkapalczynski@ci.maple-grove.mn.us</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><FONT COLOR="#1F497D">Basically what I have is a query that runs on a shapefile&#8230;<BR>
It returns the records into a table, which I then have the option to zoom to.<BR>
&nbsp;<BR>
I am looking for a bit more&#8230;.after I run the query (php) I want the returned records to highlight in the map&#8230;<BR>
I can get the Unique identifier but don&#8217;t know if I can write some code in PHP to highlight those features<BR>
&nbsp;<BR>
I don&#8217;t even know where to start here&#8230;<BR>
<BR>
The query and returning records into the table, as well as, the zoom to work great&#8230;just need the highlight part<BR>
&nbsp;<BR>
Thanks<BR>
&nbsp;<BR>
&nbsp;<BR>
</FONT><BR>
</SPAN><FONT SIZE="2"><SPAN STYLE='font-size:10pt'><B>From:</B> Jay Kapalczynski <BR>
<B>Sent:</B> Thursday, April 09, 2009 1:03 PM<BR>
<B>To:</B> <a href="'mapserver-users@lists.osgeo.org">'mapserver-users@lists.osgeo.org</a>'<BR>
<B>Subject:</B> Highlight<BR>
</SPAN></FONT><SPAN STYLE='font-size:11pt'> <BR>
Any way to highlight a feature in my map in PHP?<BR>
&nbsp;<BR>
I can grab a unique identifier but can figure out how to highlight it&#8230;<BR>
&nbsp;<BR>
THanks<BR>
&nbsp;<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
Paul</SPAN></FONT>
</BODY>
</HTML>