Make image load error color configurable. Document it.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1386 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -131,8 +131,10 @@ OpenLayers.Util.onImageLoad = function() {
|
||||
this.style.display = "";
|
||||
};
|
||||
|
||||
OpenLayers.Util.onImageLoadErrorColor = "pink";
|
||||
|
||||
OpenLayers.Util.onImageLoadError = function() {
|
||||
this.style.backgroundColor = "pink";
|
||||
this.style.backgroundColor = OpenLayers.Util.onImageLoadErrorColor;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user