[Users] gx_layercontainer in GeoExt 0.6
Cédric Moullet
cedric.moullet at camptocamp.com
Sat Oct 17 06:04:30 CEST 2009
Thanks Andreas for the tip.
By adding:
loader: new Ext.tree.TreeLoader({applyLoader: false}),
in the config tree, it seems to work.
Thanks,
Cédric
2009/10/16 Andreas Hocevar <ahocevar at opengeo.org>
> 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.
>
>
--
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/20091017/da0c0167/attachment.htm
More information about the Users
mailing list