Changeset 2219
- Timestamp:
- 02/10/07 07:41:09 (2 years ago)
- Files:
-
- sandbox/bwoodall/openlayers/lib/OpenLayers/Map.js (modified) (1 diff)
- sandbox/bwoodall/openlayers/lib/OpenLayers/Tile/Image.js (modified) (1 diff)
- sandbox/bwoodall/openlayers/lib/OpenLayers/Util.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sandbox/bwoodall/openlayers/lib/OpenLayers/Map.js
r2167 r2219 735 735 this.layerContainerDiv.style.left = "0px"; 736 736 this.layerContainerDiv.style.top = "0px"; 737 } 738 739 if (zoomChanged || !this.baseLayer.state) { 740 this.baseLayer.state = 741 OpenLayers.Util.createUniqueID("OUcreateImage_"); 737 742 } 738 743 sandbox/bwoodall/openlayers/lib/OpenLayers/Tile/Image.js
r2163 r2219 53 53 this.initImgDiv(); 54 54 } 55 56 this.imgDiv.state = this.layer.map.baseLayer.state; 57 this.imgDiv.layer = this.layer; 55 58 56 59 this.url = this.layer.getURL(this.bounds); sandbox/bwoodall/openlayers/lib/OpenLayers/Util.js
r2162 r2219 217 217 } 218 218 219 /** 220 * 221 * 222 */ 219 223 OpenLayers.Util.onImageLoad = function() { 220 this.style.backgroundColor = null; 221 this.style.display = ""; 224 if (this.state && this.state == this.layer.map.baseLayer.state) { 225 this.style.backgroundColor = null; 226 this.style.display = ""; 227 } 228 222 229 }; 223 230 … … 322 329 var div = OpenLayers.Util.createDiv(); 323 330 var img = OpenLayers.Util.createImage(null, null, null, null, null, null, 324 false);331 null, false); 325 332 div.appendChild(img); 326 333
