[Users] Active layer on top
Jacinto Estima
jacinto.estima at gmail.com
Tue Aug 7 08:28:05 CEST 2012
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: users-bounces at geoext.org [mailto:users-bounces at geoext.org] On Behalf
Of Alexandre Dubé
Sent: Monday, August 06, 2012 4:33 PM
To: users at geoext.org
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
Users at geoext.org
http://www.geoext.org/cgi-bin/mailman/listinfo/users
--
Alexandre Dubé
Mapgears
www.mapgears.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20120807/afdb12a3/attachment.htm
More information about the Users
mailing list