Hi jonathan

I disabled the "advertised" checkbox and it worked. Thanks for that. But
thing is, now layer group is also not coming. what I want is the layer
groups should come buy layers which consist groups dont come. Is this
possible somehow with getCapabilities or I need to get layer group names
separately by GET request method.

About second, lets say there is a tree like structured element list where I
show all layers added to map. I will show the layerName there I want its
layers to come as a child of layer group name.

+LayerGroup
     + |_| Layer 1
     + |_| Layer 2
     + |_| Layer 3

Every layername has a checkbox and if you uncheck it, that layer should be
gone and other layers will still be visible.

now there are 2 ways..
1. I think I will have to call getMap again and again with different
layernames whenever the user check,Uncheck any layer.
2. I will load all 80 layers separately not the layer group. If user will
check,uncheck  any layer, I will get toggle its visibility. 

What would be better way. Also for both these methode, I will need layer
names in a layer group. but I load a layer group as WMS layer in openlayers.
How can I do that..

I hope I am being more clear this time. I am really thankfull for all your
help.

Regards
Pankaj Bansal






--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/about-layer-group-tp5096027p5096135.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to