OpenLayers OpenLayers

Changeset 1386

Show
Ignore:
Timestamp:
08/26/06 12:05:25 (2 years ago)
Author:
crschmidt
Message:

Make image load error color configurable. Document it.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/build/docs.sh

    r1369 r1386  
    22 
    33rm ../doc/reference.html 
    4 CLASSES="Map Layer Layer.HTTPRequest Layer.Grid Layer.WMS Layer.KaMap Layer.EventPane Layer.Google Layer.VirtualEarth Layer.Markers Layer.Text Layer.GeoRSS Layer.Boxes Icon Marker Marker.Box Tile Tile.Image Tile.WFS Control Control.LayerSwitcher Control.MouseDefaults Control.MouseToolbar Control.PanZoom Control.PanZoomBar Control.Permalink Control.Scale LonLat Size Pixel Bounds
     4CLASSES="Map Layer Layer.HTTPRequest Layer.Grid Layer.WMS Layer.KaMap Layer.EventPane Layer.Google Layer.VirtualEarth Layer.Markers Layer.Text Layer.GeoRSS Layer.Boxes Icon Marker Marker.Box Tile Tile.Image Tile.WFS Control Control.LayerSwitcher Control.MouseDefaults Control.MouseToolbar Control.PanZoom Control.PanZoomBar Control.Permalink Control.Scale LonLat Size Pixel Bounds Util
    55echo "<html> 
    66  <head> 
  • trunk/openlayers/lib/OpenLayers/Util.js

    r1369 r1386  
    132132}; 
    133133 
     134OpenLayers.Util.onImageLoadErrorColor = "pink"; 
     135 
    134136OpenLayers.Util.onImageLoadError = function() { 
    135     this.style.backgroundColor = "pink"
     137    this.style.backgroundColor = OpenLayers.Util.onImageLoadErrorColor
    136138}; 
    137139