OpenLayers Select Feature Example

vector, feature, selecting, selection, advanced

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

Use the shift key to select multiple features. Use the ctrl key to toggle selection on features one at a time. Note: the "clickout" option has no effect when "hover" is selected.