[Users] gx_layercontainer in GeoExt 0.6
Andreas Hocevar
ahocevar at opengeo.org
Fri Oct 16 22:50:15 CEST 2009
Hi Cédric,
try adding
loader: new GeoExt.tree.TreeLoader({applyLoader: false})
to your tree config.
Regards,
Andreas.
Cédric Moullet wrote:
> 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 <http://www.camptocamp.com> / www.mapfish.org
> <http://www.mapfish.org> / twitter.com/cedricmoullet
> <http://twitter.com/cedricmoullet> / mapfishblog.blogspot.com/
> <http://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)
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>
--
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
More information about the Users
mailing list