Re: [OpenLayers-Users] how select the right feature between 2 superimposed ?

2008-12-05 Thread Indika Tantrigoda
Hi Sébastien, * *Are you referring to features superimposed on the same layer ? If so what you described would be a useful thing to have when multiple features are superimposed. I dont think I have come across anything of this nature. Has anyone else ? However if the two superimposed features are

Re: [OpenLayers-Users] how select the right feature between 2 superimposed ?

2008-12-04 Thread Sébastien Geindre
Do you think there is a way to select the layer after the event is thrown ? Imagine, you click the mouse on a feature, in fact on 2 features - superimposed -, the UI shows you the both features, and you could select onedraw the attributes of the selected one but for that, we need have e

Re: [OpenLayers-Users] how select the right feature between 2 superimposed ?

2008-11-26 Thread Indika Tantrigoda
Hi, Thanks for the info Eric. I'll follow up on activating/deactivating the select feature control. Maybe it would increase the performance of the application since the controls are created only once. Indika 2008/11/26 Eric Lemoine <[EMAIL PROTECTED]> > Indika > > So you just let the user choo

Re: [OpenLayers-Users] how select the right feature between 2 superimposed ?

2008-11-26 Thread Eric Lemoine
Indika So you just let the user choose what layer feature selection works for, right? I don't know about Sebastien's case but in lots of situations this isn't acceptable - it's a pain for the user to select the type of objects he's going to query. On an unrelated note, I notice that you create a

Re: [OpenLayers-Users] how select the right feature between 2 superimposed ?

2008-11-26 Thread Indika Tantrigoda
Hi, After looking at http://gis.ibbeck.de/ginfo/apps/OLExamples/OL26/examples/styles_unique_with_group_wfs.htmlI managed to find a work around . I have two wfs point layers, and can activate the selectFeature for the currently selected layer via a radio button. Some of my features were superimpos

Re: [OpenLayers-Users] how select the right feature between 2 superimposed ?

2008-11-26 Thread Eric Lemoine
On Wed, Nov 26, 2008 at 10:20 AM, Sébastien Geindre <[EMAIL PROTECTED]> wrote: > Eric Lemoine a écrit : >> >> Seb, I don't understand your question. If you're trying to get the >> select feature control to work with multiple layers then you must know >> that that isn't currently supported by OpenLa

Re: [OpenLayers-Users] how select the right feature between 2 superimposed ?

2008-11-26 Thread Sébastien Geindre
Eric Lemoine a écrit : > Seb, I don't understand your question. If you're trying to get the > select feature control to work with multiple layers then you must know > that that isn't currently supported by OpenLayers. Sorry for not > understanding your question. Eric you guessed it ! is there any

Re: [OpenLayers-Users] how select the right feature between 2 superimposed ?

2008-11-25 Thread Eric Lemoine
Seb, I don't understand your question. If you're trying to get the select feature control to work with multiple layers then you must know that that isn't currently supported by OpenLayers. Sorry for not understanding your question. Eric 2008/11/25, Sébastien Geindre <[EMAIL PROTECTED]>: > hi list,

[OpenLayers-Users] how select the right feature between 2 superimposed ?

2008-11-25 Thread Sébastien Geindre
hi list, Imagine you have several layers with severals features. feature1-layerA superimposes to feature2-layerB i need to handle the 'select' event on these both features. How can i do that ? get the list of all the 'selected' features... thanks for your help. Seb ___