Thanks Alexandre. I think this is what I was looking for.
I have now to figure out how to put this working. I have several raster layers and a lot of users are expected to access them so I cannot go with the highest layer number + 1 . I have to find a way to reorganize the order every time the user sets the active layer through the radio button (I have radio buttons in the tree nodes to set the active layer). Do you have any suggestion? Regards, Jacinto From: [email protected] [mailto:[email protected]] On Behalf Of Alexandre Dubé Sent: Monday, August 06, 2012 4:33 PM To: [email protected] Subject: Re: [Users] Active layer on top Hi Jacinto, The OpenLayers.Map.setLayerIndex may be what you're looking for : http://dev.openlayers.org/releases/OpenLayers-2.12/doc/apidocs/files/OpenLay ers/Map-js.html#OpenLayers.Map.setLayerIndex HTH, Alexandre On 12-08-06 07:41 AM, Jacinto Estima wrote: Hi all, I have an Issue to solve as follows: I have several layers on my application. These layers are organized in subfolders with async tree nodes. I need to find a way to put the active layer on top of all of the other layers without moving it. I was wondering if someone already did that or have the same issue to solve. Thanks for your help. Regards, Jacinto _______________________________________________ Users mailing list [email protected] http://www.geoext.org/cgi-bin/mailman/listinfo/users -- Alexandre Dubé Mapgears www.mapgears.com
_______________________________________________ Users mailing list [email protected] http://www.geoext.org/cgi-bin/mailman/listinfo/users
