<div>I think you need to change it to something like this:</div>
<div>&nbsp;</div>
<div>var loadedMap = new OpenLayers.Layer.MapServer( &quot;OpenLayers WMS&quot;,<br>&quot;<a href="http://localhost:8085/cgi-bin/mapserv?map=/ms4w/apps/app/test.map">http://localhost:8085/cgi-bin/mapserv?map=/ms4w/apps/app/test.map</a>&quot;, <br>
{layers: states_poly,states_line},<br>{buffer: 0});</div>
<div>&nbsp;</div>
<div>Linda<br></div>
<div class="gmail_quote">On Feb 12, 2008 12:54 PM, David H. McCoy &lt;<a href="mailto:davidhmccoy@cox.net">davidhmccoy@cox.net</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>I have this<br><br>map=/ms4w/apps/app/test.map&amp;layer=states_poly&amp;layer=states_line&amp;mode=map<br>
<br>And I want this<br><br>var loadedMap = new OpenLayers.Layer.MapServer( &quot;OpenLayers WMS&quot;,<br>&quot;<a href="http://localhost:8085/cgi-bin/mapserv.exe" target="_blank">http://localhost:8085/cgi-bin/mapserv.exe</a>&quot;,<br>
{map: &#39;/ms4w/apps/app/test.map, layer:&#39;states_poly,states_line&#39;, mode:&#39;map&#39;,<br>format: &#39;png&#39;, transparent:&#39;false&#39;},<br>{layers: &#39;basic&#39;},<br>{gutter: 15});<br><br><br><br>But it doesn&#39;t display. If you want to have multiple occurrances of the same<br>
param, but different values, how is this represented?<br><font color="#888888"><br>--<br>View this message in context: <a href="http://www.nabble.com/How-do-you-represent-multiple-layers-in-a-MapServer-Query-tp15441564p15441564.html" target="_blank">http://www.nabble.com/How-do-you-represent-multiple-layers-in-a-MapServer-Query-tp15441564p15441564.html</a><br>
Sent from the OpenLayers Users mailing list archive at <a href="http://nabble.com/" target="_blank">Nabble.com</a>.<br><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br></font></blockquote></div><br><br clear="all"><br>-- <br>Linda Rawson