[Users] GeoExt.LegendPanel and Layergroups

Anthony Tuffour Anthony.Tuffour at Hackney.gov.uk
Tue Aug 17 13:43:20 CEST 2010


Sarah,

 

Thanks. But similar code and mine is not working. How different is your
legendpanel code bit from mine? Do you get the grouplayers in the
legendpanel as individual layers with their legend graphics or appears
as a group with the group title?

 

Cheers.

 

-----Original Message-----
From: Sarah Schuessler [mailto:sarah_flip at yahoo.de] 
Sent: 17 August 2010 12:31
To: Anthony Tuffour
Cc: users at geoext.org
Subject: AW: AW: [Users] GeoExt.LegendPanel and Layergroups

 

 

 

I have this code that worked for me:
                        title: "Layer tree",
                        width: 200, 
                        id: "treelayer",
                        margins: '5 0 5 5',
                        xtype: "treepanel",                           
                        loader: new Ext.tree.TreeLoader({
                                applyLoader: false}),
                                root: {
                                 nodeType: "async",
                                children: [

                               {
                                nodeType: "gx_baselayercontainer"
                                }, {
                                nodeType: "gx_overlaylayercontainer",
                                expanded: true,
                                loader: {
                                    baseAttrs: {radioGroup: "foo"}
                                    } 
                                }
                            , {
                                nodeType: "gx_layer",
                                layer: "Forest",
                                isLeaf: false,
                                loader: { 
                                    param: "LAYERS"
                                    }
                                    }
                            ]

HTH.
best regards
Sarah

________________________________

 





Hackney Council may exercise its right to intercept any communication,
the only exception to this would be confidential survey data, with any
employee or agent of the Council using its telephony or data networks. 

By using these networks you give your consent to Hackney Council
monitoring and recording your communication.

If you have received this e-mail in error please delete it immediately
and contact the sender.

For further information about Hackney Council policies please contact
Hackney Service Centre on: 020 8356 3000

Click here
<https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg==
zqjT3sbaHD7zrRupVMGnckvK0hsLU1F1SrgakVWf!6zCig==>  to report this email
as spam.



Hackney Council may exercise its right to intercept any communication, the only exception to this would be confidential survey data, with any employee or agent of the Council using its telephony or data networks. By using these networks you give your consent to Hackney Council monitoring and recording your communication.

If you have received this e-mail in error please delete it immediately and contact the sender.

For further information about Hackney Council policies please contact Hackney Service Centre on: 020 8356 3000


********************************************************************** 

London Borough of Hackney may exercise its right to intercept any communication on its networks - for more information see 

http://www.hackney.gov.uk/email_disclaimer.html 

********************************************************************** 

This message has been scanned for malware by Websense. www.websense.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20100817/0a823c5c/attachment-0001.htm 


More information about the Users mailing list