[OpenLayers-Users] ol3 and highlighting features

Horst Garstka horst at hike.de
Wed Dec 3 07:35:13 PST 2014


I'm working on an ol3-project. In that I load features via a KML file
into a vector layer. Now I tried to highlight the features with mouseover.

The code to do so is:
....
map.addInteraction(new ol.interaction.Select({
        condition: function(evt){
                return evt.originalEvent.type == 'mousemove':
        }
}));

It works, but now I want to change the icon of the actual highlighted
feature, which is now a blue dot. But I don't find the place where the
definition of that icon is.

Has someone of you a hint?

Horst




More information about the Users mailing list