OpenLayers Select and Highlight Feature Example (example simplified by using "FeaturePopups")

View on GitHub
select, highlight, hover, onmouseover, click, vector

Select features on click, highlight features on hover.

Select features by clicking on them. Just highlight features by hovering over them.