Re: [OpenLayers-Users] How to use more than one 'SelectFeature' controls

2008-06-16 Thread Eric Lemoine
Hi. Feature selection doesn't work with multiple layers. As you mentioned only the layer on the top will work. See ticket 434. For now, if possible, you'll have to put everything in the same vector layer. Eric 2008/6/17, hz20040 <[EMAIL PROTECTED]>: > Dear List! > > I have got a problem about 'Sel

[OpenLayers-Users] How to use more than one 'SelectFeature' controls

2008-06-16 Thread hz20040
Dear List! I have got a problem about 'SelectFeature' control. There are two gml layers.I want to use two 'SelectFeature' to select them. But I found only the SelectFeature control which's gml layer is added last will work. In the code,if I use myMap.addLayers([gmlLayer1,gmlLayer2]),the gml2Co