move the draw() call out of the addTile() function and into the grid code.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@515 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -70,11 +70,9 @@ OpenLayers.Layer.WMS.prototype =
|
||||
{BBOX:bounds.toBBOX(),
|
||||
WIDTH:this.tileSize.w,
|
||||
HEIGHT:this.tileSize.h});
|
||||
var tile = new OpenLayers.Tile.Image(this, position, bounds,
|
||||
|
||||
return new OpenLayers.Tile.Image(this, position, bounds,
|
||||
url, this.tileSize);
|
||||
tile.draw();
|
||||
this.div.appendChild(tile.img);
|
||||
return tile;
|
||||
},
|
||||
|
||||
/** @final @type String */
|
||||
|
||||
Reference in New Issue
Block a user