[GeoNode-users] Set active layer

David Alda Fernandez de Lezea dalda at hazi.eus
Thu May 19 04:34:47 PDT 2016


Thanks Simone, unfortunately I'm not an ExtJS/GeoExt expert... How can I get access to the layer tree.

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.

De: Simone Dalmasso [mailto:simone.dalmasso at gmail.com] 
Enviado el: miércoles, 18 de mayo de 2016 9:43
Para: David Alda Fernandez de Lezea
CC: geonode-users at lists.osgeo.org
Asunto: Re: [GeoNode-users] Set active layer

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 


More information about the geonode-users mailing list