You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been successfully using offline manager to save tiles
awaitMapLibreGL.offlineManager.createPack({name: "offlinePack",styleURL:
"https://api.maptiler.com/maps/voyager/style.json",minZoom: 14,maxZoom: 20,bounds: [[3.8833,43.6119],// neLng, neLat for Montpellier[3.8133,43.5919],// swLng, swLat for Montpellier],},(offlineRegion,status)=>console.log(offlineRegion,status),(offlineRegion,err)=>console.log(offlineRegion,err));
But any way to persist offline RasterSource for weather layer ?
I was wondering maybe i could download tileUrlTemplate of disk, but is there any way to use a local source instead of a remote source within timeUrlTemplate
Or can i build a dynamic styledURL including my Raster and will I have layer source downloaded too ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I've been successfully using offline manager to save tiles
But any way to persist offline RasterSource for weather layer ?
I was wondering maybe i could download tileUrlTemplate of disk, but is there any way to use a local source instead of a remote source within
timeUrlTemplate
Or can i build a dynamic styledURL including my Raster and will I have layer source downloaded too ?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions