Hello,

I have noticed a weird behaviour with IE8 when using a SelectFeature
control on polygonal features with labels: click or hover events are
not correctly detected when the mouse pointer is above a feature
label.

It can be observed for instance if you add the following code:

    var hoverControl = new OpenLayers.Control.SelectFeature(
        vectorLayer,
        {
            autoActivate: true,
            hover: true,
            renderIntent: "temporary"
        }
    );
    map.addControl(hoverControl);

to this example:
http://openlayers.org/dev/examples/vector-features-with-text.html
and create an additional "temporary" renderIntent in the StyleMap
definition => I have simply duplicated the "default" renderIntent and
changed the fillColor property.

Then when the mouse pointer is over a feature, the feature color is
updated, except when the pointer is above the label. Only with IE. OK
with Firefox or Chrome for instance.

Anyone knows about that issue?

Thanks,
alex
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to