In my code I'm putting on an ol.interaction.Select interaction. I need to set the style and this is easy.
new ol.interaction.Select({
filter : function(feature, layer) {
return me.inFilterSelect(feature, layer);
},
wrapX : false,
style : stylePoligon
});
I now have the need to set two styles, but one must be a function style (the styles depends on some attributes attached on the feature), and the other could be a function too or a simple new ol.style.style({...}).
How can I set such a thing, multiple styles of different types (one function and one ol.style.style) or multiple functions style? I'm using openlayer 4.0.1.