[Users] Set visibility on Sub-layers

Paul james pauljame at gmail.com
Wed Oct 14 16:13:31 CEST 2009


Hello guys... I have that set of sublayers :

new OpenLayers.Layer.MapServer("Streets",
                _cgi, {
                    map: _mapfile,
                    "LAYERS": ['Layer1','Layer2','Layer3','Layer4',
'Layer5'],
                    transparent: true,
                    format: "image/png"
                }, {
                    isBaseLayer: false,
                    buffer: 0,
                    displayInLayerSwitcher: false,
                    visibility: false
                })

I´d like to start with Layer1 and Layer2 with visibility true ... How can I
do that?

Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20091014/2d6d7eaa/attachment.htm 


More information about the Users mailing list