Hi, I am downloading a Region in the splash screen of my app. How can I load the downloaded pack to the map. This is the code I use for downloading the pack
await MapboxGL.offlineManager.createPack({
name: 'spain',
styleURL: Mapbox.StyleURL.Light,
minZoom: 14,
maxZoom: 20,
bounds: [[NE_LON, NE_LAT], [SW_LON, SW_LAT]]
}, progressListener, errorListener)
@nitaliano
@yaduc you don't need to load the pack
so once you download the pack 100% it will just work in offline mode. LMK if it doesn't work! Closing this out for now
If I have downloaded several packs, which one will be used?
@nitaliano
Most helpful comment
@yaduc you don't need to load the pack
so once you download the pack 100% it will just work in offline mode. LMK if it doesn't work! Closing this out for now