Walter Lorenzetti ha scritto:
> Hi list,
>
> I've a problem with OpenLayers.Control.SelectFeature
>
> I've 3 gml in a array ( users[] ) and for every layers I add on map
> a new control.SelectFeature for to show a popup
>
> control[i] =  new OpenLayers.Control.SelectFeature(users[i],{onSelect:
> openPopup,selectStyle: style[i]});
>         map.addControl(control[i]);
>         control[i].activate();
>
> but when every layers are visibile only for the last layer activated
> I can obtain the popup on feature select but not for the other 2 layers
>
> Do I some mistake?
>
> thanks in advance
>
> Walter
>
>   
I find the solution:

I've to activate only the layer where I want to select for popup

but How can I render every layers selectable at the same time?

Walter

-- 
Please no  .doc, .xls, .ppt, .dwg:
https://www.faunalia.it/dokuwiki/doku.php?id=public:OpenFormats

Walter Lorenzetti
email+jabber: [EMAIL PROTECTED]
www.faunalia.it
Cell: (+39) 347-6597931  Tel+Fax: (+39) 0587-213742
Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy

_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to