Thanks Chris, the []&#39;s were the key I was missing.&nbsp; Makes sense, it&#39;s an array.&nbsp; &lt;sigh&gt;&nbsp; I feel like an idiot now, but I do appreciate the help.<br><br>Roger<br>--<br><br><br><div class="gmail_quote">On Mon, May 12, 2008 at 7:47 PM, Christopher Schmidt &lt;<a href="mailto:crschmidt@metacarta.com">crschmidt@metacarta.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">On Mon, May 12, 2008 at 07:30:00PM -0700, Roger André wrote:<br>
&gt; Hi Everyone,<br>
&gt;<br>
&gt; I&#39;m having a problem that I suspect many of you has already dealt with. &nbsp;I<br>
&gt; can&#39;t seem to combine several of my MapServer wms layers into a single OL<br>
&gt; map layer. &nbsp;No matter how I structure the wms layer name array (in<br>
&gt; single-quotes, or double-quotes), I never can turn two wms layers on at<br>
&gt; once. &nbsp;I&#39;d like to take this wms request and make it into an open layers<br>
&gt; layer:<br>
<br>
</div>Layer.WMS(&quot;name&quot;, &quot;url&quot;, {layers: [&#39;wetlands&#39;, &#39;floodplain&#39;]})<br>
<br>
-- Chris<br>
<div class="Ih2E3d"><br>
&gt; <a href="http://localhost/cgi-bin/mapserv.exe?map=../htdocs/520.map" target="_blank">http://localhost/cgi-bin/mapserv.exe?map=../htdocs/520.map</a><br>
&gt; &amp;SERVICE=WMS<br>
&gt; &amp;VERSION=%221.1.1%22<br>
&gt; &amp;REQUEST=GetMap<br>
&gt; &amp;LAYERS=wetlands,floodplain<br>
&gt; &amp;STYLES=<br>
&gt; &amp;BBOX=775843.302946,602429.871045,848438.746010,635418.446144&amp;WIDTH=600&amp;HEIGHT=500&amp;FORMAT=png&amp;SRS=epsg:2286<br>
&gt;<br>
&gt; I currently have a single OL layer for &quot;wetlands&quot; that works fine. &nbsp;When I<br>
&gt; add &quot;floodplain&quot; to it, I either get a completely blank screen with no OL<br>
&gt; controls (which tells me that the .js syntax is messed up), or I get the<br>
&gt; OpenLayers canvas, but the layer in questions doesn&#39;t display any data. &nbsp;Can<br>
&gt; someone send what the correct syntax should be for getting both layers<br>
&gt; called correctly from within OL? &nbsp;Or tell me if there is a special trick<br>
&gt; related to Mapserver WMS and multiple layer calls?<br>
&gt;<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt;<br>
&gt; Roger<br>
&gt; --<br>
<br>
</div>&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
&gt; <a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
<font color="#888888"><br>
<br>
--<br>
Christopher Schmidt<br>
MetaCarta<br>
</font></blockquote></div><br>