[OpenLayers-Users] Control.SelectFeature issue on FF (but not on Chrome)

Frederic Junod frederic.junod at camptocamp.com
Fri May 21 06:19:37 EDT 2010


Hello,

Same behavior here.
But it works when the 2 vector layers are passed to the SelectFeature control:
  new OpenLayers.Control.SelectFeature([vectorLayer, vectorLayer2], {
clickout: true, hover: false });

Is that what you used ?

fredj

On Fri, May 21, 2010 at 12:08 PM, Alessandro Pasotti <ale.pas at tiscali.it> wrote:
> Hello,
>
> I've discovered a strange behaviour (bug?) with FF and select control.
>
> Basically, it happens when you already have an active  control
> Control.SelectFeature attached to a layer and you add a new layer with its own
> Control.SelectFeature, on FF the control attached to the first layer will cease
> to react to click events.
>
> See a live example here (test it on FF and Chrome):
>
> http://www.parconord.milano.it/ol_ko.html
>
> I don't need a workaround (I've already found one), but I would be happy to
> understand why it happens.
>
>
> Tested on:
> FF 3.6.3 Linux
> Chromium
> 5.0.389.0 (45661) Ubuntu
>

-- 
Frédéric Junod
Camptocamp SA



More information about the Users mailing list