Hi Everyone,<br><br>I&#39;m having a problem that I suspect many of you has already dealt with.&nbsp; I can&#39;t seem to combine several of my MapServer wms layers into a single OL map layer.&nbsp; No matter how I structure the wms layer name array (in single-quotes, or double-quotes), I never can turn two wms layers on at once.&nbsp; I&#39;d like to take this wms request and make it into an open layers layer:<br>
<br><a href="http://localhost/cgi-bin/mapserv.exe?map=../htdocs/520.map">http://localhost/cgi-bin/mapserv.exe?map=../htdocs/520.map</a><br>&amp;SERVICE=WMS<br>&amp;VERSION=%221.1.1%22<br>&amp;REQUEST=GetMap<br>&amp;LAYERS=wetlands,floodplain<br>
&amp;STYLES=<br>&amp;BBOX=775843.302946,602429.871045,848438.746010,635418.446144&amp;WIDTH=600&amp;HEIGHT=500&amp;FORMAT=png&amp;SRS=epsg:2286<br><br>I currently have a single OL layer for &quot;wetlands&quot; that works fine.&nbsp; When I add &quot;floodplain&quot; to it, I either get a completely blank screen with no OL controls (which tells me that the .js syntax is messed up), or I get the OpenLayers canvas, but the layer in questions doesn&#39;t display any data.&nbsp; Can someone send what the correct syntax should be for getting both layers called correctly from within OL?&nbsp; Or tell me if there is a special trick related to Mapserver WMS and multiple layer calls?&nbsp; <br>
<br><br>Thanks,<br><br><br>Roger<br>--<br>