Hi,

I thought I was making progress....but in a container which contains several 
layers, I cannot turn just ONE layer off ....all the layers are turned on /off 
together!!!???


I have checked my code but cannot see what is happening.

does anyone understand why this behaviour is occuring?

app: http://maps.zgb.de/eeg/tree_gxnode.html

code: underneath

Yours,

Rob 



// code for a container inside a container

{
text: "Suchräume",
expanded: false,
children: [
        {
             nodeType: 'gx_layer',
     text:'layer_suchraumV1',
             layer: layer_suchraumV1,
           icon: 
'http://maps.zgb.de/geoserver/wms?REQUEST=GetLegendGraphic&VERSION=1.0.0&FORMAT=image/png&WIDTH=16&LAYER=Suchraum_V1_wgs84'

         },
 {
             nodeType: 'gx_layer',
     text:'layer_suchraumV2',
             layer: layer_suchraumV1,
           icon: 
'http://maps.zgb.de/geoserver/wms?REQUEST=GetLegendGraphic&VERSION=1.0.0&FORMAT=image/png&WIDTH=16&LAYER=Suchraum_V2_wgs84'

         },
 {
             nodeType: 'gx_layer',
     text:'layer_suchraumV3',
             layer: layer_suchraumV1,
           icon: 
'http://maps.zgb.de/geoserver/wms?REQUEST=GetLegendGraphic&VERSION=1.0.0&FORMAT=image/png&WIDTH=16&LAYER=Suchraum_V3_wgs84'

         },
 {
             nodeType: 'gx_layer',
     text:'layer_suchraumV4',
             layer: layer_suchraumV1,
           icon: 
'http://maps.zgb.de/geoserver/wms?REQUEST=GetLegendGraphic&VERSION=1.0.0&FORMAT=image/png&WIDTH=16&LAYER=Suchraum_V4_wgs84'

         }]
},
_______________________________________________
Users mailing list
Users@geoext.org
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to