Rename source.getKeyParams() to source.getKey()

This commit is contained in:
Tim Schaub
2016-05-18 18:34:50 -06:00
parent 81d5849207
commit 841c8a5747
5 changed files with 10 additions and 11 deletions
+1 -1
View File
@@ -279,7 +279,7 @@ ol.source.TileImage.prototype.getTile = function(z, x, y, pixelRatio, projection
ol.source.TileImage.prototype.getTileInternal = function(z, x, y, pixelRatio, projection) {
var /** @type {ol.Tile} */ tile = null;
var tileCoordKey = this.getKeyZXY(z, x, y);
var paramsKey = this.getKeyParams();
var paramsKey = this.getKey();
if (!this.tileCache.containsKey(tileCoordKey)) {
goog.asserts.assert(projection, 'argument projection is truthy');
tile = this.createTile_(z, x, y, pixelRatio, projection, paramsKey);