[OpenLayers-Users] Layer not checked in LayerSwitcher
Maren Kiehl
maren.kiehl at gmx.de
Thu Sep 3 08:38:42 EDT 2009
Hi at all.
I have some Layers in my OpenLayers-map as overlaysThe problem is they
shouldn't be checked in the LayerSwitcher by loading the map.
That's how I tried it, but without success:
var wms = new OpenLayers.Layer.WMS.Untiled(
"Plan 1924",
"http://localhost/cgi-bin/mapserv.exe?map=C:/ms4w/Apache/htdocs/osnamap/includes/wms.map",
{visibility:false, isBaseLayer:false, transparent:
true, layers: 'plan1924'}
);
Could anybody tell me how to switch the layer of?
Thanks for help.
Best regards,
Maren
More information about the Users
mailing list