OpenLayers Select Feature Example

Select a feature on hover or click with the Control.SelectFeature on a vector layer.