SelectFeature control setLayer

4 messages Options
Embed this post
Permalink
bartvde

SelectFeature control setLayer

Reply Threaded More More options
Print post
Permalink
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
[hidden email]
http://www.osgis.nl

_______________________________________________
Dev mailing list
[hidden email]
http://openlayers.org/mailman/listinfo/dev
Andreas Hocevar-2

Re: SelectFeature control setLayer

Reply Threaded More More options
Print post
Permalink
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 straight from the developers.

_______________________________________________
Dev mailing list
[hidden email]
http://openlayers.org/mailman/listinfo/dev
Eric Lemoine-2-2

Re: SelectFeature control setLayer

Reply Threaded More More options
Print post
Permalink
In reply to this post by bartvde
On Wednesday, November 4, 2009, Bart van den Eijnden (OSGIS)
<[hidden email]> 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 guess a patch is welcome.

Do you envision an API for replacing the current set of layers, or for
adding new layers to the already existing set? I don't how complex the
latter would be though. And I think the former should be good enough.

Cheers,

--
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : [hidden email]
http://www.camptocamp.com
_______________________________________________
Dev mailing list
[hidden email]
http://openlayers.org/mailman/listinfo/dev
bartvde

Re: SelectFeature control setLayer

Reply Threaded More More options
Print post
Permalink
Hi Eric,

for my specific case the former would suffice.

I've opened up:
http://trac.openlayers.org/ticket/2340

and I'll attach a patch there once I am done.

Best regards,
Bart

> On Wednesday, November 4, 2009, Bart van den Eijnden (OSGIS)
> <[hidden email]> 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 guess a patch is welcome.
>
> Do you envision an API for replacing the current set of layers, or for
> adding new layers to the already existing set? I don't how complex the
> latter would be though. And I think the former should be good enough.
>
> Cheers,
>
> --
> Eric Lemoine
>
> Camptocamp France SAS
> Savoie Technolac, BP 352
> 73377 Le Bourget du Lac, Cedex
>
> Tel : 00 33 4 79 44 44 96
> Mail : [hidden email]
> http://www.camptocamp.com
>


_______________________________________________
Dev mailing list
[hidden email]
http://openlayers.org/mailman/listinfo/dev