chiitiler - v2.0.1
    Preparing search index...

    Type Alias Protocol

    Protocol: (url: string) => Promise<Uint8Array | null>

    Loads the bytes of a URL of a custom scheme, or null when there are none (like HTTP 404: a missing vector tile is empty, a missing raster tile is replaced by its parent). Throw for other failures: the render fails rather than caching a map with holes.

    Type Declaration

      • (url: string): Promise<Uint8Array | null>
      • Parameters

        • url: string

        Returns Promise<Uint8Array | null>