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"><<a href="mailto:richard.greenwood@gmail.com">richard.greenwood@gmail.com</a>></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's "MINX" 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 <<a href="mailto:pauljame@gmail.com">pauljame@gmail.com</a>> wrote:<br>
> Hello guys...<br>
><br>
> The application has a Search Window, with all Roads listed...<br>
> The user will choose one road, so my map should highlight that road and zoom<br>
> in (if possible)...<br>
><br>
> I already did that using C# Mapscript, but I dont know how to do that using<br>
> CGI/OL...<br>
><br>
> Any ideas?<br>
><br>
> Thanks<br>
><br>
> Paul<br>
><br>
</div></div>> _______________________________________________<br>
> mapserver-users mailing list<br>
> <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
><br>
><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>