[Users] GeoExt.LegendPanel and Layergroups
Sarah Schuessler
sarah_flip at yahoo.de
Tue Aug 17 13:31:01 CEST 2010
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
________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20100817/9dc9d512/attachment.htm
More information about the Users
mailing list