Hi Hari,

AFAICT the same thing should still be possible.

Have you tried adding a layer with multiple layers?

            new OpenLayers.Layer.WMS("Tasmania (Group Layer)",
                "http://demo.opengeo.org/geoserver/wms";, {
                    layers: [
                        "topp:tasmania_state_boundaries",
                        "topp:tasmania_water_bodies",
                        "topp:tasmania_cities",
                        "topp:tasmania_roads"
                    ],
                    transparent: true,
                    format: "image/gif"
                }, {
                    isBaseLayer: false,
                    buffer: 0,
                    visibility: false
                }
            )

What happens without specifying anything special?

Best,
Marc


On 17.06.2014 20:17, Hari Pradhan wrote:
Hello list,

I want to group layers using GeoExt2 as in the link "http://api.geoext.org/1.1/examples/tree.html"; where tasmania layers are grouped together. The link "http://geoext.github.io/geoext2/examples/tree/tree.html"; provides an example of this kind of layer tree and is similar to that of v1.1. But it does not implement grouping the layers.

Can anyone provide me some code snippets for grouping the layers using GeoExt2?

Thanks,
Hari


_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users


--

  Dipl.-Geogr. Marc Jansen
  --- Anwendungsentwickler ---

  terrestris GmbH & Co. KG
  Pützchens Chaussee 56
  53227 Bonn

  Tel:   +49 (0)228 / 96 28 99 -53
  Fax:   +49 (0)228 / 96 28 99 -57

  Email: [email protected]
  Web:   http://www.terrestris.de

  Amtsgericht Bonn, HRA 6835, Komplementärin: terrestris Verwaltungs-
  gesellschaft mbH, vertreten durch: Hinrich Paulsen, Till Adams

_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to