NextGIS Frontend
    Preparing search index...

    Interface LayerRequestOptions

    Common request parameters used by layer adapters when they load remote data.

    interface LayerRequestOptions {
        cache?: RequestCache;
        credentials?: RequestCredentials;
        headers?: Record<string, any>;
    }
    Index
    cache?: RequestCache

    Browser request cache mode. Set to 'no-store' to disable cache for adapters that can control requests.

    credentials?: RequestCredentials

    Controls how credentials such as cookies are sent with requests. Uses the same values as the Fetch API.

    headers?: Record<string, any>

    Additional HTTP headers that will be sent with layer requests when the underlying map library allows request customization.