Hi Hugo, I understand more what you want to do. Please reply to the list so that users and developers can help you too.
I see that you use GeoServer. I'm pretty sure that you can use filters/cql/other (I never used GeoServer but heard about it) to have a specific feature rendered differently. You should ask the GeoServer list for that. You could also have a Vector layer instead of a WMS layer for your roads and define a different style for your results. See http://trac.openlayers.org/wiki/Styles Best regards, Alexandre Hugo Teixeira wrote: > hi, > > i'm using a polyline, this is what i'm doin'g > :http://84.91.20.142:82/webvias/index.php > > try search : rua vale verde > > i found the street and i goes to it, but now i need to highlight the > street to the user ... > > regards, > > hugo > > 2009/5/15 Alexandre Dube <[email protected] <mailto:[email protected]>> > > Hi Hugo, > > What type of layer are you using ? The easiest way to achieve > this is to use a vector layer with a selectFeature control > hover:true and highlightOnly:true. See the example (1). You need > OpenLayers 2.8 or trunk for the highlightOnly property > > Regards, > > Alexandre > > (1) http://openlayers.org/dev/examples/highlight-feature.html > > Hugo Teixeira wrote: > > how can i hilight one line in openlayers ??? > > ------------------------------------------------------------------------ > > > > _______________________________________________ > Users mailing list > [email protected] <mailto:[email protected]> > http://openlayers.org/mailman/listinfo/users > > > > > -- > Alexandre Dubé > Mapgears > www.mapgears.com <http://www.mapgears.com> > > > > > -- > Pestinha -- Alexandre Dubé Mapgears www.mapgears.com _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
