diff --git a/src/tilesource.js b/src/tilesource.js index c6bcd8e4..7b5d7acf 100644 --- a/src/tilesource.js +++ b/src/tilesource.js @@ -276,6 +276,10 @@ $.TileSource.prototype = { }, /** + * Set the maxLevel to the given level, and perform the memoization of + * getLevelScale with the new maxLevel. This function can be useful if the + * memoization is required before the first call of getLevelScale, or both + * memoized getLevelScale and maxLevel should be changed accordingly. * @function * @param {Number} level */