[OpenLayers-Dev] feature event / highlight a feature

Christine Spietz spietz at fh-bingen.de
Fri Mar 30 08:12:21 EDT 2007


Hi,

I'm working with the actual trunk 
(http://svn.openlayers.org/trunk/openlayers/lib) and try to register an
event on the features which are contained in a WFS-Layer.

I want the feature to be highlighted/selected if a click-event happens on 
the feature. If the click-event happens on another feature, this feature 
should be highlighted and the previous feature should not be highlighted 
anymore.
So the whole time only ONE feature is highlighted, if a click-event appears 
on this feature.

Are there posibilities to do this with the actual trunk-code of OpenLayers?

Thanks for your help!

Christine





More information about the Dev mailing list