Use tile keys instead of coord keys
This change ensures that tiles with old params or dimensions are discarded
This commit is contained in:
+1
-1
@@ -84,7 +84,7 @@ ol.Tile.prototype.getImage = goog.abstractMethod;
|
||||
* @return {string} Key.
|
||||
*/
|
||||
ol.Tile.prototype.getKey = function() {
|
||||
return goog.getUid(this).toString();
|
||||
return this.key + '/' + this.tileCoord;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user