Thanks Richard...<br>Could you send me a sample how to highlight the road using CGI/OL?<br><br>Thanks<br><br><br><br><div class="gmail_quote">On Mon, Mar 29, 2010 at 7:23 PM, Richard Greenwood <span dir="ltr">&lt;<a href="mailto:richard.greenwood@gmail.com">richard.greenwood@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">One approach is to use a very simple template to retrieve the min/max<br>
extent from MapServer. Then parse the extent in javascript and use<br>
that to set the OL extent. So basically you are making two calls to<br>
MapServer, one to get the extent and another one to highlight the<br>
road. The template for the extent would look something like<br>
    [MINX] [MINY] [MAXX] [MAXY]<br>
Better check the documentation on that as I forget if it&#39;s &quot;MINX&quot; or<br>
something slightly different.<br>
<br>
Rich<br>
<div><div></div><div class="h5"><br>
<br>
On Mon, Mar 29, 2010 at 2:02 PM, Paul james &lt;<a href="mailto:pauljame@gmail.com">pauljame@gmail.com</a>&gt; wrote:<br>
&gt; Hello guys...<br>
&gt;<br>
&gt; The application has a Search Window, with all Roads listed...<br>
&gt; The user will choose one road, so my map should highlight that road and zoom<br>
&gt; in (if possible)...<br>
&gt;<br>
&gt; I already did that using C# Mapscript, but I dont know how to do that using<br>
&gt; CGI/OL...<br>
&gt;<br>
&gt; Any ideas?<br>
&gt;<br>
&gt; Thanks<br>
&gt;<br>
&gt; Paul<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; mapserver-users mailing list<br>
&gt; <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
&gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
&gt;<br>
&gt;<br>
<font color="#888888"><br>
<br>
<br>
--<br>
Richard Greenwood<br>
<a href="mailto:richard.greenwood@gmail.com">richard.greenwood@gmail.com</a><br>
<a href="http://www.greenwoodmap.com" target="_blank">www.greenwoodmap.com</a><br>
</font></blockquote></div><br>