Cool that worked. I was doing it wrong. Heres what I used:
layer = new OpenLayers.Layer.WMS( "Streets", "http://10.0.0.162/cgi-bin/mapserv.exe", {map: 'C:/MyMaps/Malta/malta.map', transparent: 'true', layers: 'malta_highway', format: 'png'}, {'isBaseLayer':false} ); Now I'm trying to figure out why both layers in my map file have loaded, since I only specified 1 ('malta_highway') in the layers parameter. Thanks. -- View this message in context: http://n2.nabble.com/ERROR-Invalid-Layer-s-given-in-the-LAYERS-parameter-Anyone-knows-why-tp4736286p4737315.html Sent from the OpenLayers Dev mailing list archive at Nabble.com. _______________________________________________ Dev mailing list Dev@openlayers.org http://openlayers.org/mailman/listinfo/dev