Hi Alexandre,

Do you mean, when you hover over a feature, then it should change its color
to show it is selected? That is the normal behaviour.

Or do you mean, when you select with hover over a feature, that you want to
change permanent the style for this feature? Then you can probaply use
something like this

ctrlSelectFeature.onSelect = function () { SelectFeatureEvent(1, lyr); };

I use this for normal selection. I have not tried for selecting with hover.

With the other question I can not help.

Arnd Wippermann


-- 
View this message in context: 
http://www.nabble.com/wfs-stylemap-example--tp18719313p18742686.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.

_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to