Peter, perhaps this helps: http://trac.osgeo.org/openlayers/ticket/2318
? Till Am 24.10.2013 20:03, schrieb Schweitzer, Peter:
I'm using shaded relief from The National Map as a base layer, but today it seems that The National Map isn't serving those data, so I'm getting the infamous pink tiles. I can turn them off manually using a call to layer.setVisibility(false). But I'd prefer that the users not have to do this themselves. Is there any way I could write a test in my Javascript code that would determine whether or not this layer is really available, and simply make the layer invisible if it isn't? http://mrdata.usgs.gov/general/map.html Peter
_______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
