[OpenLayers-Users] How to select a particular layer

Eric Lemoine eric.c2c at gmail.com
Mon Aug 18 12:05:16 EDT 2008


Hi. It depends on your users' taste/requirements, doesn't it? The
query'able layers could just be those that are currently visible? Just
a quick thought... Eric

2008/8/18, fredth <fredth at hotmail.com>:
>
> Hey, I want to do a getInfo on a layer, but when the user has 2 or more
> layers displayed, we can't find which layer he wants to query. Do you know
> any way to let the user specify an "active" layer ? I've tried to modify the
> legend, adding a radio-button, but I have a problem with it. When the user
> select a layer, he can't change after. Also, if he decide to display a new
> layer, the selected value disappear.
>
> Also, if you have a better way that to use an "active" layer to do that, you
> are welcome.
>
> Thx
> --
> View this message in context:
> http://www.nabble.com/How-to-select-a-particular-layer-tp19034039p19034039.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>



More information about the Users mailing list