[Users] gx_layer display in gx_overaylayercontainer
Andreas Hocevar
ahocevar at opengeo.org
Mon Nov 23 15:32:39 CET 2009
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.
--
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
More information about the Users
mailing list