Skip to content

Commit

Permalink
Load erroneous image in ol.ImageTile#load
Browse files Browse the repository at this point in the history
  • Loading branch information
fredj committed Apr 26, 2016
1 parent 432e70d commit 0fe3583
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ol/imagetile.js
Expand Up @@ -139,10 +139,10 @@ ol.ImageTile.prototype.handleImageLoad_ = function() {


/**
* Load not yet loaded URI.
* Load not yet loaded or erroneous tile.
*/
ol.ImageTile.prototype.load = function() {
if (this.state == ol.TileState.IDLE) {
if (this.state == ol.TileState.IDLE || this.state == ol.TileState.ERROR) {
this.state = ol.TileState.LOADING;
this.changed();
goog.asserts.assert(!this.imageListenerKeys_,
Expand Down

0 comments on commit 0fe3583

Please sign in to comment.