OpenLayers OpenLayers

Changeset 1925

Show
Ignore:
Timestamp:
11/19/06 09:13:44 (2 years ago)
Author:
crschmidt
Message:

Missing 'var' makes url a global variable, stomping on existing variable.
Found while writing tests.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/crschmidt/refractions/lib/OpenLayers/Layer/TMS.js

    r1915 r1925  
    7777        var z = this.map.getZoom(); 
    7878        return this.url + "1.0.0" + "/" + this.layername + "/" + z + "/" + x + "/" + y + "." + this.type;  
    79  
    8079    }, 
    8180 
     
    9089    */ 
    9190    addTile:function(bounds,position) { 
    92         url = this.getURL(bounds); 
     91        var url = this.getURL(bounds); 
    9392        return new OpenLayers.Tile.Image(this, position, bounds,  
    9493                                             url, this.tileSize);