[Users] Grouping layers in GeoExt2
Marc Jansen
jansen at terrestris.de
Wed Jun 18 08:05:03 CEST 2014
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
> Users at geoext.org
> 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: jansen at terrestris.de
Web: http://www.terrestris.de
Amtsgericht Bonn, HRA 6835, Komplementärin: terrestris Verwaltungs-
gesellschaft mbH, vertreten durch: Hinrich Paulsen, Till Adams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20140618/7c5dd749/attachment.htm
More information about the Users
mailing list