Hi, I'm trying to activate an interaction when the mouseover is inside some feature.
It is working so so... the problem is if you move your mouse slowly the interaction keep active. Is it a bug on OL3, or should I do in a different way? Code: http://jsfiddle.net/gmaq54dm/3/ olMap.on("pointermove", function (e) { if (e.dragging) { return; } var map = e.map; console.log(e.pixel); var feature = map.forEachFeatureAtPixel(e.pixel, function(feature, layer) { return feature; }); var hit = (feature) ? true : false; console.log(hit); olDraw.setActive(hit); }); Thanks -- You received this message because you are subscribed to the Google Groups "OL3 Dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/ol3-dev. To view this discussion on the web visit https://groups.google.com/d/msgid/ol3-dev/bf6a2f88-e8c2-4653-930d-82e2e549a952%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
