Hi, I would like to know how to add severals mapserver layers as my base layer for openlayers. Supose I have a mapfile with a layers us_states (with the states shapes) other for the roads (us_roads) , and other for the railsways (us_railsways). So, what I want to do is to have all this layers when openlayers loads. I'd been unable to do so... I was trying something like this but is not working:<br>
<br>layer = new OpenLayers.Layer.MapServer("United States",<br> "<a href="http://localhost/cgi-bin/mapserv?us_states.map">http://localhost/cgi-bin/mapserv?us_states.map</a>",<br>
{:layers: 'us_railsways,us_states, us_roads'},<br> {gutter:15});<br><br>map.addLayer....<br>
-- <br>Rafael Chacon,<br><br>"El hombre es la medida de todas las cosas". Protagoras<br>