@honua/sdk-js
    Preparing search index...

    Type Alias OfflineRegionTileHandler

    OfflineRegionTileHandler: (
        request: { url: string },
        abortController?: AbortController,
    ) => Promise<{ cacheControl?: string; data: ArrayBuffer; expires?: string }>

    The handler shape createOfflineRegionTileProtocol() returns.

    Declared structurally so the runtime never imports the offline entrypoint; it is the same shape MapLibre itself expects from addProtocol.

    Type Declaration

      • (
            request: { url: string },
            abortController?: AbortController,
        ): Promise<{ cacheControl?: string; data: ArrayBuffer; expires?: string }>
      • Parameters

        • request: { url: string }
        • OptionalabortController: AbortController

        Returns Promise<{ cacheControl?: string; data: ArrayBuffer; expires?: string }>