<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16788" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV class=sourceRow executable="true"><SPAN class=sourceRowText>Hi
All,</SPAN></DIV>
<DIV class=sourceRow executable="true"><SPAN
class=sourceRowText></SPAN> </DIV>
<DIV class=sourceRow executable="true"><SPAN class=sourceRowText>How can one
detect if a given server pushes the map or not? Here below is the line I use to
get a layer from NASA server and need to switch to alternate layer server
when it is down.</SPAN></DIV>
<DIV class=sourceRow executable="true"><SPAN
class=sourceRowText></SPAN> </DIV>
<DIV class=sourceRow executable="true"><SPAN class=sourceRowText>var nasaLayer =
new OpenLayers.Layer.WMS( "NASA WMS",</SPAN><SPAN
class=sourceRowText>"http://wms.jpl.nasa.gov/wms.cgi?", {layers:
'BMNG',</SPAN><SPAN class=sourceRowText>format:'image/png'},</SPAN><SPAN
class=sourceRowText>{isBaseLayer: true});</SPAN></DIV>
<DIV class=sourceRow executable="true"><SPAN
class=sourceRowText></SPAN> </DIV>
<DIV class=sourceRow executable="true"><SPAN
class=sourceRowText>Thanks,</SPAN></DIV>
<DIV class=sourceRow executable="true"><SPAN
class=sourceRowText></SPAN> </DIV>
<DIV class=sourceRow executable="true"><SPAN
class=sourceRowText>Stephane</SPAN></DIV>
<DIV class=sourceRow executable="true"><SPAN
class=sourceRowText></SPAN> </DIV>
<DIV class=sourceRow executable="true"><SPAN
class=sourceRowText></SPAN> </DIV>
<DIV class=sourceRow><SPAN
class=sourceRowText></SPAN> </DIV></FONT></DIV></BODY></HTML>