Changeset 2163
- Timestamp:
- 01/19/07 11:32:43 (2 years ago)
- Files:
-
- trunk/openlayers/lib/OpenLayers/Tile/Image.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/lib/OpenLayers/Tile/Image.js
r2093 r2163 118 118 this.imgDiv.className = 'olTileImage'; 119 119 120 /* checkImgURL *should* pretty predictably get called after the 121 createImage / createAlphaImageDiv onLoad handler */ 120 /* checkImgURL used to be used to called as a work around, but it 121 ended up hiding problems instead of solving them and broke things 122 like relative URLs. See discussion on the dev list: 123 http://openlayers.org/pipermail/dev/2007-January/000205.html 122 124 123 125 OpenLayers.Event.observe( this.imgDiv, "load", 124 126 this.checkImgURL.bindAsEventListener(this) ); 125 127 */ 126 128 this.layer.div.appendChild(this.imgDiv); 127 129 if(this.layer.opacity != null) { … … 140 142 * when the new URL loads in the image, or (b) we don't want to display 141 143 * this tile after all because its new bounds are outside our maxExtent. 144 * 145 * This function should no longer be neccesary with the improvements to 146 * Grid.js in OpenLayers 2.3. The lack of a good isEquivilantURL function 147 * caused problems in 2.2, but it's possible that with the improved 148 * isEquivilant URL function, this might be neccesary at some point. 149 * 150 * See discussion in the thread at 151 * http://openlayers.org/pipermail/dev/2007-January/000205.html 142 152 * 143 153 * @private
