You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
499 B
16 lines
499 B
export default TileCache;
|
|
declare class TileCache extends LRUCache<any> {
|
|
constructor(highWaterMark?: number | undefined);
|
|
/**
|
|
* @param {!Object<string, boolean>} usedTiles Used tiles.
|
|
*/
|
|
expireCache(usedTiles: {
|
|
[x: string]: boolean;
|
|
}): void;
|
|
/**
|
|
* Prune all tiles from the cache that don't have the same z as the newest tile.
|
|
*/
|
|
pruneExceptNewestZ(): void;
|
|
}
|
|
import LRUCache from "./structs/LRUCache.js";
|
|
//# sourceMappingURL=TileCache.d.ts.map
|