[Users] Associate 2 sublayers in a single Geoext Treeview Item...

Paul james pauljame at gmail.com
Tue Feb 9 19:08:12 CET 2010


Hello guys...

Is it possible to associate 2 layers in a single Treeview Item ?

Example:
I have that layer (using SUBLAYERS)
 var _test = new OpenLayers.Layer.WMS("TEST",
                _mapfile, {
                    "LAYERS": ['l1', 'l2', 'l3', 'l4'],
                     transparent: true,
                     format: "image/png"
                }, {
                    isBaseLayer: false,
                    buffer: 0,
                    visibility: true
                });

My treeview:
...
text: "TEST",
                    expanded: true,
                    children: [
                    {
                        nodeType: "gx_layerparam",
                        layer: "TEST",
                        param: "LAYERS",
                        item: "l1",
                        text: "test layer",
                        checked: true,
                        uiProvider: ...
                    }
...

What I need is insert other layer in "item" property, Is that a way ?

Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20100209/7d71e7d6/attachment.htm 


More information about the Users mailing list