[Users] gx_layer display in gx_overaylayercontainer
Sascha Müller
s.mueller76 at arcor.de
Mon Nov 23 16:23:58 CET 2009
Hi,
I had this before, but with this way, the layers don't show up in the
legend.
That's why I used 'displayInLayerSwitcher: true'. Is there a way get
both thing a the same time?
Regards,
Sascha
> Sascha Müller wrote:
>> Hi,
>>
>> I try to use a GroupLayer like in the examples. My problem is, that
>> the GroupLayer is shown in the OverlayLayer Node.
>>
>> map.addLayer(new OpenLayers.Layer.WMS("Strassennetz",
>> "http://localhost:8081/geoserver/wms", {
>> layers: [
>> "Autobahnen",
>> "Fernstrassen",
>> "Verbindungsstrassen",
>> "Wohnstrassen"
>> ],
>> transparent: true,
>> format: "image/gif"
>> }, {
>> isBaseLayer: false,
>> buffer: 0,
>> displayInLayerSwitcher: true,
>>
>
> Set displayInLayerSwitcher to false, and you should be fine.
>
> Regards,
> Andreas.
>
>
More information about the Users
mailing list