Fixed typos.
This commit is contained in:
parent
05ecd0b048
commit
304818dc13
@ -48,10 +48,11 @@ export default class Tile extends PIXI.Sprite {
|
|||||||
* Returns true iff the url is pending
|
* Returns true iff the url is pending
|
||||||
*
|
*
|
||||||
* @static
|
* @static
|
||||||
|
* @param {*} url
|
||||||
* @returns
|
* @returns
|
||||||
* @memberof Tile
|
* @memberof Tile
|
||||||
*/
|
*/
|
||||||
static isPending() {
|
static isPending(url) {
|
||||||
return pendingTiles.has(url) && pendingTiles.get(url) > 0
|
return pendingTiles.has(url) && pendingTiles.get(url) > 0
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -193,7 +194,7 @@ export default class Tile extends PIXI.Sprite {
|
|||||||
* @param {*} texture
|
* @param {*} texture
|
||||||
*/
|
*/
|
||||||
static lateTexture(url, texture) {
|
static lateTexture(url, texture) {
|
||||||
let destroyBase = !deepZoomTileCache.has(url)
|
let destroyBase = !registeredTiles.has(url)
|
||||||
texture.destroy(destroyBase)
|
texture.destroy(destroyBase)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user