OpenLayers OpenLayers

Changeset 2163

Show
Ignore:
Timestamp:
01/19/07 11:32:43 (2 years ago)
Author:
crschmidt
Message:

Approved commit for #473 by euzuro. Needs pullup to 2.3.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/lib/OpenLayers/Tile/Image.js

    r2093 r2163  
    118118        this.imgDiv.className = 'olTileImage'; 
    119119 
    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 
    122124 
    123125        OpenLayers.Event.observe( this.imgDiv, "load", 
    124126                        this.checkImgURL.bindAsEventListener(this) ); 
    125  
     127        */ 
    126128        this.layer.div.appendChild(this.imgDiv); 
    127129        if(this.layer.opacity != null) { 
     
    140142     * when the new URL loads in the image, or (b) we don't want to display 
    141143     * 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 
    142152     * 
    143153     * @private