To abort loading of any previous image when we destroy the image tile, we set the src to the location of blank.gif. r=crschmidt (pullup #1978)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9334 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -122,7 +122,8 @@ OpenLayers.Tile.Image = OpenLayers.Class(OpenLayers.Tile, {
|
|||||||
this.imgDiv.map = null;
|
this.imgDiv.map = null;
|
||||||
}
|
}
|
||||||
this.imgDiv.urls = null;
|
this.imgDiv.urls = null;
|
||||||
this.imgDiv.src = null;
|
// abort any currently loading image
|
||||||
|
this.imgDiv.src = OpenLayers.Util.getImagesLocation() + "blank.gif";
|
||||||
}
|
}
|
||||||
this.imgDiv = null;
|
this.imgDiv = null;
|
||||||
if ((this.frame != null) && (this.frame.parentNode == this.layer.div)) {
|
if ((this.frame != null) && (this.frame.parentNode == this.layer.div)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user