I am trying to upgrade my system from Openlayers 2 to Openlayers 3 and I have having one particular issue that I cannot seem to figure out.
My application has a grid and
Add a select interaction to your map.
var selectInteraction = new ol.interaction.Select(); map.addInteraction(selectInteraction);
Add any features you want to select to the select interaction's feature array.
selectInteractions.getFeatures().push(featureToSelect);