[Users] How to add multiple levels in Tree

Morper-Busch, Lucia Lucia.Morper-Busch at sbg.ac.at
Thu Feb 3 10:25:53 CET 2011


Hi Rizwan, have a look at the LayerTreeBuilder:

 

http://dev.geoext.org/sandbox/mapgears/geoext.ux/ux/LayerTreeBuilder/exa
mples/tree-builder.html
<http://dev.geoext.org/sandbox/mapgears/geoext.ux/ux/LayerTreeBuilder/ex
amples/tree-builder.html> 

 

Lucia

 

Dipl.-Geogr. Lucia Morper-Busch | Researcher

University of Salzburg | Centre for Geoinformatics - Z_GIS

Schillerstr.30 | Techno-Z, Block 15, 3rd floor | 5020 Salzburg, Austria

Phone +43 (0)662 8044 5298 | Fax +43 (0)662 8044 5260

> Z_GIS...experts for the spatial view <http://www.zgis.at/research> 

 

Von: users-bounces at geoext.org [mailto:users-bounces at geoext.org] Im
Auftrag von M. Rizwan Khan
Gesendet: Donnerstag, 03. Februar 2011 10:16
An: IT Intern
Cc: users at geoext.org
Betreff: Re: [Users] How to add multiple levels in Tree

 

Hi,

Thanks Elshae for your response.
Now I am able to get sub-folder but unable to have both (layers & folder
containing folder).
I used this code :

children : [ {
                        nodeType : "gx_layer",
                        layer : "campus:building",
                        loader : {
                            param : "LAYERS"
                        }, 
                        
                        children : [ {
                            
                            nodeType : "gx_layer",
                            layer : "campus:residential_building",
                            isLeaf : false,
                            loader : {
                                param : "LAYERS"            
                                }
                        },
                        {
                            nodeType : "gx_layer",
                            layer : "campus:academic",
                            isLeaf : false,
                            loader : {
                                param : "LAYERS"
                            }
                        }]


Regards,
M. Rizwan Khan

On Mon, Jan 10, 2011 at 8:29 PM, IT Intern <itintern12 at gmail.com> wrote:

Hi Rizwan,

http://dev.sencha.com/deploy/dev/examples/tree/two-trees.html
 and the examples page at:
http://www.sencha.com/products/js/

May be of great help to you as ExtJS is the parent library of GeoExtJS

elshae

On Mon, Jan 10, 2011 at 4:58 AM, M. Rizwan Khan
<mrizwan1.khan at gmail.com> wrote:

	Hi all,
	
	I am new to Geoext, I have seen this example 
	http://api.geoext.org/1.0/examples/tree.html
	
	and would like to added multiple levels in this tree structure?
in the current example only 2 levels are shown.
	
	Regards,
	M. Rizwan Khan
	
	

	_______________________________________________
	Users mailing list
	Users at geoext.org
	http://www.geoext.org/cgi-bin/mailman/listinfo/users

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20110203/7bc51aaf/attachment-0001.htm 


More information about the Users mailing list