[Users] Tree Layer question...

Andreas Hocevar ahocevar at opengeo.org
Mon Jul 20 13:44:02 CEST 2009


Hi,

Alexandre Dube wrote:
> Andreas Hocevar wrote:
>> sorry for the delayed reply. The difference between the layer tree
>> approach in Mapfish and GeoExt is that the former uses a model on the
>> tree level for custom trees, and the latter lets you use the a plain
>> Ext configuration for the tree, because you have a choice of
>> different node types for representing layers.
>>
>> The layer tree that you see in
>> http://demo.mapfish.org/mapfishsample/1.1/examples/tree/tree_automatic.html
>> will be possible in GeoExt, with this configuration:
>>
>> var tree = new Ext.tree.TreePanel({
>>     root: new GeoExt.tree.LayerContainer({
>>         defaults: {
>>             loader: new GeoExt.tree.LayerParamsLoader({
>>                 param: "LAYERS"
>>             })
>>         }
>>     }),
>>     ...
>> });
>>
>>
>
> I'm really interested in this kind of enhancement. If you open a
> ticket for this, could you please announce it on the list ? I would
> 'cc' myself to the ticket to follow it development.

http://trac.geoext.org/ticket/127

Regards,
Andreas.

-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.



More information about the Users mailing list