# OpenLayers Select Feature Example

vector, feature, selecting, selection, advanced

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

- navigate
- draw point
- draw line
- draw polygon
- Select features on hover
- select feature (0 features selected)
  - select features in a box
  - click out to unselect features

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.