IFClite TypeScript API
    Preparing search index...

    Interface TilesCache

    Byte cache keyed by absolute URL, for both tileset JSON and tile content. Hits do not count against the request budget.

    interface TilesCache {
        get(
            url: string,
        ):
            | Uint8Array<ArrayBufferLike>
            | Promise<Uint8Array<ArrayBufferLike> | undefined>
            | undefined;
        set(url: string, bytes: Uint8Array): void | Promise<void>;
    }
    Index
    • Parameters

      • url: string

      Returns
          | Uint8Array<ArrayBufferLike>
          | Promise<Uint8Array<ArrayBufferLike> | undefined>
          | undefined

    • Parameters

      • url: string
      • bytes: Uint8Array

      Returns void | Promise<void>