<div>I think you need to change it to something like this:</div>
<div> </div>
<div>var loadedMap = new OpenLayers.Layer.MapServer( "OpenLayers WMS",<br>"<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>", <br>
{layers: states_poly,states_line},<br>{buffer: 0});</div>
<div> </div>
<div>Linda<br></div>
<div class="gmail_quote">On Feb 12, 2008 12:54 PM, David H. McCoy <<a href="mailto:davidhmccoy@cox.net">davidhmccoy@cox.net</a>> 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&layer=states_poly&layer=states_line&mode=map<br>
<br>And I want this<br><br>var loadedMap = new OpenLayers.Layer.MapServer( "OpenLayers WMS",<br>"<a href="http://localhost:8085/cgi-bin/mapserv.exe" target="_blank">http://localhost:8085/cgi-bin/mapserv.exe</a>",<br>
{map: '/ms4w/apps/app/test.map, layer:'states_poly,states_line', mode:'map',<br>format: 'png', transparent:'false'},<br>{layers: 'basic'},<br>{gutter: 15});<br><br><br><br>But it doesn'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