From 7999a4fc065004312972498ca3bbb34bf98f5ff5 Mon Sep 17 00:00:00 2001 From: euzuro Date: Mon, 5 Jun 2006 15:47:35 +0000 Subject: [PATCH] draw function is not defined in the standard Tile class. it is meant to be implemented by subclasses. no reason to call it. git-svn-id: http://svn.openlayers.org/trunk/openlayers@513 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Tile/Image.js | 1 - lib/OpenLayers/Tile/WFS.js | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/OpenLayers/Tile/Image.js b/lib/OpenLayers/Tile/Image.js index 686a04fb8e..f6280a29d6 100644 --- a/lib/OpenLayers/Tile/Image.js +++ b/lib/OpenLayers/Tile/Image.js @@ -32,7 +32,6 @@ OpenLayers.Tile.Image.prototype = /** */ draw:function() { - OpenLayers.Tile.prototype.draw.apply(this, arguments); this.img = OpenLayers.Util.createImage(null, this.position, this.size, diff --git a/lib/OpenLayers/Tile/WFS.js b/lib/OpenLayers/Tile/WFS.js index 5b761ffcf3..98b6c46abe 100644 --- a/lib/OpenLayers/Tile/WFS.js +++ b/lib/OpenLayers/Tile/WFS.js @@ -38,7 +38,6 @@ OpenLayers.Tile.WFS.prototype = /** */ draw:function() { - OpenLayers.Tile.prototype.draw.apply(this, arguments); this.loadFeaturesForRegion(this.requestSuccess); },