Force state of error tiles when usInterimTilesOnError is false

This commit is contained in:
oterral
2017-05-19 15:57:59 +02:00
parent 46c610f35e
commit c1abe4a550
6 changed files with 39 additions and 18 deletions
+7
View File
@@ -145,6 +145,13 @@ ol.Tile.prototype.getState = function() {
return this.state;
};
/**
* @param {ol.TileState} state State.
*/
ol.Tile.prototype.setState = function(state) {
this.state = state;
this.changed();
};
/**
* Load the image or retry if loading previously failed.