Hi, I have the following layers defined: <br><br> roads = new OpenLayers.Layer.MapServer( "Roads",<br> "<a href="http://192.168.1.103/cgi-bin/mapserv?map=us_states.map">http://192.168.1.103/cgi-bin/mapserv?map=us_states.map</a>", <br>
{layers: 'us_roads', transparent:'true'});<br> gps = new OpenLayers.Layer.MapServer( "GPS",<br> "<a href="http://192.168.1.103/cgi-bin/mapserv?map=us_states.map">http://192.168.1.103/cgi-bin/mapserv?map=us_states.map</a>", <br>
{layers: 'gps_points', transparent: 'true'});<br><br> roads.setVisibility(false)<br> gps.setVisisibility(false)<br><br><br>Both layers work, but I have the following behavior: when one of the layers is active the other one disappears. Suppose I chose first the roads, then it show the roads. Then I select gps, then it shows the gps points but roads start to disappear. Any ideas why this happens??<br>
<br>Thanks in advance.<br><br clear="all"><br>-- <br>Rafael Chacon,<br><br>"El hombre es la medida de todas las cosas". Protagoras