versatiles-svg-renderer
    Preparing search index...

    Type Alias FetchFunction

    FetchFunction: (url: string, init?: FetchRequestInit) => Promise<FetchResponse>

    Loads a URL, like fetch: the renderer loads tiles, sprites, TileJSON documents and GeoJSON data through it. It is called with the URL, and for part of a file with request headers as well, and should resolve to a Response.

    Type Declaration

      • (url: string, init?: FetchRequestInit): Promise<FetchResponse>
      • Parameters

        • url: string
        • Optionalinit: FetchRequestInit

        Returns Promise<FetchResponse>