mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-29 00:26:10 +03:00
Add the description of setMaxLevel
This commit is contained in:
parent
f8c97143e8
commit
24d5d98548
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user