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.
Static
get
Exports all the WMTS tiles for the layers in parameter and store them to local cache