diff --git a/lib/OpenLayers/Layer/WMS/Untiled.js b/lib/OpenLayers/Layer/WMS/Untiled.js index 056cd3254a..9536e0aa64 100644 --- a/lib/OpenLayers/Layer/WMS/Untiled.js +++ b/lib/OpenLayers/Layer/WMS/Untiled.js @@ -125,7 +125,7 @@ OpenLayers.Layer.WMS.Untiled.prototype = //clear out the old tile if (this.tile) { - OpenLayers.Util.clearArray(this.tile); + this.tile.clear(); } //determine new tile bounds