I'm trying to follow this example
I've added this to a button's (click) handler
let selectClick = new Select({
condition: click
});
mapValues.map.addInteraction(selectClick);
selectClick.on('select', function(e) {
console.log("Features selected : " + e.target.getFeatures().getLength());
console.log("Features deselected : " + e.deselected.length);
});
and I am seeing the selection work in the console as I write out what is selected and deselected. However the vector style does not change to show it is selected and I don't see a style in the example. So, I just assumed it was now part of ol/interaction/Select.js
Any help in getting the style applied to the selected vector is appreciated