[Users] gx_layercontainer in GeoExt 0.6
Cédric Moullet
cedric.moullet at camptocamp.com
Fri Oct 16 14:39:58 CEST 2009
Hi,
With GeoExt 0.5, we were able to use the following syntax to create a layer
tree:
{
title: "Layer tree",
region: "west",
width: 150,
xtype: "treepanel",
root: {
nodeType: "gx_layercontainer",
layerStore: new GeoExt.data.LayerStore({
map: map,
layers: layers
}),
leaf: false,
expanded: true
},
rootVisible: true
}
It seems that with GeoExt 0.6, the tree never loads. Any idea of the reason
?
Thanks,
Cédric
--
CTO Geospatial Camptocamp SA
Cédric Moullet
PSE A
CH-1015 Lausanne
www.camptocamp.com / www.mapfish.org / twitter.com/cedricmoullet /
mapfishblog.blogspot.com/
+41 79 759 69 83 (mobile)
+41 21 619 10 21 (direct)
+41 21 619 10 10 (centrale)
+41 21 619 10 00 (fax)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20091016/8f810780/attachment.htm
More information about the Users
mailing list