I am trying to upgrade my system from Openlayers 2 to Openlayers 3, and I have one specific problem that I cannot understand.
My application has a grid and a map, and when the user clicks on the grid, I want to select the corresponding point on the map.
In Openlayers 2, I used the following:
self.selectControl.select(feature[0]);
I cannot find or understand how to do the same in Openlayers 3.
Therefore, to be clear, I have a function that I found programmatically, and I want to select this function on the map (programmatically)!
I cannot find anything in the API, but it may be due to my lack of understanding, as I am new to Openlayers.
source share