[GeoNode-users] Set active layer

Simone Dalmasso simone.dalmasso at gmail.com
Wed May 18 00:42:35 PDT 2016


Hi David,

not sure but maybe you can get the layer node and .select() it. There's
something here
http://docs.sencha.com/extjs/3.4.0/#!/api/Ext.tree.AsyncTreeNode-method-select

2016-05-18 9:33 GMT+02:00 David Alda Fernandez de Lezea <dalda at hazi.eus>:

> Hi list,
>
> I'm developing a small form into the GeoExplorer view that does some stuff
> with the overlays and I need to set the selected layer of the layers tree
> from code . Is that possible?
>
> I've looking into the code but I can't some kind of function like
> setSelectedLayer or something like that...
>
> Could anyone point me to the right direction?
>
> Thanks in advance,
>
> Regards,
>
> Agur bero bat,
>
>
> David Alda Fernández de Lezea
> Área de Sistemas de Información Geográfica, Planificación Territorial y
> Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren
> Arloa.
> dalda at hazi.eus | www.hazi.eus
> T 945 003 240 - M 627 923 170 - F 945 003 290
> Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute - Araba
>
> *********************  LEGE OHARRA   *******************   AVISOLEGAL
> *******************   DISCLAIMER   *****************************
> Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera
> debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta
> kontserbatu gabe.
> Este mensaje es personal y confidencial y su uso no autorizado está
> prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo,
> sin reenviarlo ni conservarlo.
> This message is personal and confidential, unauthorised use is legally
> prohibited. If you are not the intended recipient, delete it without
> resending or backing it.
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-users
>



-- 
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20160518/0462ee87/attachment.html>


More information about the geonode-users mailing list