From 54f519a2559741a82b828ddc663e73c3f75db0e9 Mon Sep 17 00:00:00 2001 From: euzuro Date: Fri, 19 May 2006 15:53:35 +0000 Subject: [PATCH] code fixes for [180]. smack me again git-svn-id: http://svn.openlayers.org/trunk/openlayers@183 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Layer/WFS.js | 2 +- lib/OpenLayers/Layer/WMS.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/OpenLayers/Layer/WFS.js b/lib/OpenLayers/Layer/WFS.js index 9d98958aef..9e48077965 100644 --- a/lib/OpenLayers/Layer/WFS.js +++ b/lib/OpenLayers/Layer/WFS.js @@ -64,7 +64,7 @@ OpenLayers.Layer.WFS.prototype = addTile:function(bounds, position) { url = this.getFullRequestString( { bbox:bounds.toBBOX() }); - var tile = new OpenLayers.Tile.WFS(bounds, url, this.tileSize); + var tile = new OpenLayers.Tile.WFS(this, bounds, url, this.tileSize); tile.draw(); tile.setPosition(position); this.div.appendChild(tile.img); diff --git a/lib/OpenLayers/Layer/WMS.js b/lib/OpenLayers/Layer/WMS.js index f3582eca8f..8c5674f764 100644 --- a/lib/OpenLayers/Layer/WMS.js +++ b/lib/OpenLayers/Layer/WMS.js @@ -58,7 +58,7 @@ OpenLayers.Layer.WMS.prototype = {bbox:bounds.toBBOX(), width:this.tileSize.w, height:this.tileSize.h}); - var tile = new OpenLayers.Tile.Image(bounds, url, this.tileSize); + var tile = new OpenLayers.Tile.Image(this, bounds, url, this.tileSize); tile.draw(); tile.setPosition(position); this.div.appendChild(tile.img);