Hierarchy (View Summary)

Constructors

Methods

  • Exports all the WMTS tiles for the layers in parameter and store them to local cache

    Parameters

    • bbox: Extent
    • wmtsLayers: LayerWmts[]
    • OptionalprogressCallback: CallableFunction

    Returns Promise<void>

  • The offline manager works with a ServiceWorker in charge of intercepting the fetch requests and read the data from the local cache if the application is offline. This method defines the servicework object to use. Without this, the offline mode won't work.

    Parameters

    • sw: null | ServiceWorker
    • storeVersion: number
    • dbCacheName: string

    Returns Promise<void>