[OpenLayers-Dev] ERROR: Invalid Layer(s) given in the LAYERS parameter. Anyone knows why?

yellow kieron.vella at yellowpages.com.mt
Mon Mar 15 10:37:07 EDT 2010

Cool that worked.

I was doing it wrong. Heres what I used:

        layer = new OpenLayers.Layer.WMS( "Streets",
            {map: 'C:/MyMaps/Malta/malta.map',
            transparent: 'true', layers: 'malta_highway',
            format: 'png'},

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.

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.

More information about the Dev mailing list