Re: [OpenLayers-Dev] SelectFeature control setLayer

2009-11-04 Thread Andreas Hocevar
Bart van den Eijnden (OSGIS) wrote: > Hi list, > > currently there is no way to tie a layer dynamically to the > SelectFeature Control. Is this by design? Or are patches welcome? > I'd say patches are welcome. Regards, Andreas. -- Andreas Hocevar OpenGeo - http://opengeo.org/ Expert service

[OpenLayers-Dev] SelectFeature control setLayer

2009-11-04 Thread Bart van den Eijnden (OSGIS)
Hi list, currently there is no way to tie a layer dynamically to the SelectFeature Control. Is this by design? Or are patches welcome? Best regards, Bart -- Bart van den Eijnden OSGIS, Open Source GIS bart...@osgis.nl http://www.osgis.nl ___ Dev mai

Re: [OpenLayers-Dev] SelectFeature control

2009-03-16 Thread Alexandre Dube
Hi Eric, This is sweet. It accomplish everything we need to have two or more SelectFeatures controls at the same time, on the same layer. And the new "highlight" events make it possible to have temporary things happening at the same time, like displaying a popup on hover. Great work Eric.

Re: [OpenLayers-Dev] SelectFeature control

2009-03-16 Thread Alexandre Dube
Thanks Eric, I'll have to try that in the following days. I'll let you know if I have comments. Regards, Alexandre Eric Lemoine wrote: > On Fri, Mar 13, 2009 at 4:28 PM, Eric Lemoine wrote: > >> I like it. See the attached eric-to-alexandre patch ;-) >> > > Alexandre, I attached a

Re: [OpenLayers-Dev] SelectFeature control

2009-03-15 Thread Eric Lemoine
On Fri, Mar 13, 2009 at 4:28 PM, Eric Lemoine wrote: > I like it. See the attached eric-to-alexandre patch ;-) Alexandre, I attached a more complete patch to . Cheers, -- Eric ___ Dev mailing list Dev@openlayers.

Re: [OpenLayers-Dev] SelectFeature control

2009-03-13 Thread Eric Lemoine
On Fri, Mar 6, 2009 at 2:50 PM, Alexandre Dube wrote: > Hi Eric, > >  This looks flawless but the easiest way to know would be to test it.  I > would be glad to test this. > >  One thing to though is that a SelectFeature control can draw features > depending on its renderIntent value OR selectStyl

Re: [OpenLayers-Dev] SelectFeature control

2009-03-06 Thread Alexandre Dube
Hi Eric, This looks flawless but the easiest way to know would be to test it. I would be glad to test this. One thing to though is that a SelectFeature control can draw features depending on its renderIntent value OR selectStyle value. So, instead of storing the previous renderIntent, it

Re: [OpenLayers-Dev] SelectFeature control

2009-03-06 Thread Eric Lemoine
On Thu, Mar 5, 2009 at 5:09 PM, Alexandre Dube wrote: > Sorry, I should have written : > > Control #1, select on click, color: blue > Control #2, highlight on hover, color: yellow, highlightOnly > > > The problem is that control #2 : > > highlight a feature even if it's selected > doesn't unhighli

Re: [OpenLayers-Dev] SelectFeature control

2009-03-05 Thread Alexandre Dube
Sorry, I should have written : Control #1, select on click, color: blue Control #2, highlight on hover, color: yellow, highlightOnly The problem is that control #2 : highlight a feature even if it's selected doesn't unhighlight a feature that is selected so, a blue-selected-feature becomes yel

Re: [OpenLayers-Dev] SelectFeature control

2009-03-05 Thread Eric Lemoine
The highlightOnly control does not do feature unselection either, it just highlights and unhighlights features (unhighlighting them only if they're not selected). Eric 2009/3/5, Alexandre Dube : > Hi Eric, > > That's a nice and great approach without hurting the core a all. > There's just a sma

Re: [OpenLayers-Dev] SelectFeature control

2009-03-05 Thread Alexandre Dube
Hi Eric, That's a nice and great approach without hurting the core a all. There's just a small issue with this solution ( see below ). Keep up the excellent work, Alexandre Eric Lemoine wrote: > On Tue, Mar 3, 2009 at 7:05 PM, Eric Lemoine wrote: > >> Alexandre >> >> I fully support t

Re: [OpenLayers-Dev] SelectFeature control

2009-03-04 Thread Eric Lemoine
On Tue, Mar 3, 2009 at 7:05 PM, Eric Lemoine wrote: > Alexandre > > I fully support the idea of being able to have two "highlight feature" > controls working at the same time, one on hover and one on click. > However i don't like the renderIntent array in the feature class, it > brings extra compl

Re: [OpenLayers-Dev] SelectFeature control

2009-03-03 Thread Eric Lemoine
Alexandre I fully support the idea of being able to have two "highlight feature" controls working at the same time, one on hover and one on click. However i don't like the renderIntent array in the feature class, it brings extra complexity that I think is undesirable. I have to say though that i c

[OpenLayers-Dev] SelectFeature control

2009-03-03 Thread Alexandre Dube
Hi devs, I brought several weeks ago some possible modification ideas that the SelectFeature control could have, including : - having its own selectedFeatures array with the corresponding events that are currently in the layer - the feature renderIntent could be a stack of strings ( an ar

Re: [OpenLayers-Dev] SelectFeature Control Ticket #1666 (new feature)

2009-01-21 Thread Andreas Hocevar
2009/1/21 Andre Pereira de Matos : > Does anyone know if this ticket about select feature control firing events > on multiple layers (not just in the topmost layer) will be released soon? It fires events *only* on the layer that the selected feature belongs to. Not in the topmost layer that the co

Re: [OpenLayers-Dev] SelectFeature Control Ticket #1666 (new feature)

2009-01-21 Thread Christopher Schmidt
On Wed, Jan 21, 2009 at 02:40:45PM +, Andre Pereira de Matos wrote: > Can I use the patch now? What can I do to have this feature? This code is still in development. As with all code still in development, it is subject to change. The code is open source: you *can* do anything you want with it.

[OpenLayers-Dev] SelectFeature Control Ticket #1666 (new feature)

2009-01-21 Thread Andre Pereira de Matos
Hi devs and users, Does anyone know if this ticket about select feature control firing events on multiple layers (not just in the topmost layer) will be released soon? Can I use the patch now? What can I do to have this feature? Regards, André Matos http://maps.sapo.pt