Ok, thanks for the hint. I will still try to do this without vector layer, like Brad Spencer suggested.
cheers, - mika - Alexandre Dube kirjoitti: > Hi Mika, > > If your 'other one' layer is vector, you might what to check this > example : http://openlayers.org/dev/examples/select-feature.html > > It might have what you seek : a select feature control. Just > right-click and "view page source" to see the code. > > Cheers, > > Alexandre > > Lehtonen, Mika wrote: >> Hi, >> >> is there any examples available which I could use with the following >> task? Tried to google, but didn't find any good ones. >> >> I have two wms-layers in my map. The another one includes some >> polygons. In order to get some info out when clicking the polygon, I >> built a system which does that. But I would also like to get the >> selected polygon to render with a different style, so that it'd be >> sort of highlighted. I thought I could copy it into vector layer >> having different style. But frankly said, I don't know how to do it. >> Just learning OL. >> >> - mika - >> _______________________________________________ >> Users mailing list >> [email protected] >> http://openlayers.org/mailman/listinfo/users >> > > _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
