Hi Stephane
Have a look at OpenLayers.Util.onImageLoadError in Util.js
You may want to override it ?
F.

2009/2/11 <[email protected]>

>  Hi All,
>
> 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.
>
> var nasaLayer = new OpenLayers.Layer.WMS( "NASA WMS","
> http://wms.jpl.nasa.gov/wms.cgi?";, {layers: 
> 'BMNG',format:'image/png'},{isBaseLayer:
> true});
>
> Thanks,
>
> Stephane
>
>
>
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/users
>
>
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to