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

This commit is contained in:
Tim Schaub
2016-05-18 18:34:50 -06:00
parent f86e7e5a71
commit 47cc4aac62
5 changed files with 10 additions and 11 deletions

View File

@@ -144,12 +144,11 @@ ol.source.Tile.prototype.getGutter = function(projection) {
/**
* Return the "parameters" key, a string composed of the source's
* parameters/dimensions.
* @return {string} The parameters key.
* Return the key to be used for all tiles in the source.
* @return {string} The key for all tiles.
* @protected
*/
ol.source.Tile.prototype.getKeyParams = function() {
ol.source.Tile.prototype.getKey = function() {
return this.key_;
};