OpenLayers 3 Examples
Select features example
Example of using the Select control.
See the
select-features.js source
to see how this is done.
SelectFeature, vector