Offline Tile Region Download Does Not Work with Custom (Non-Mapbox) Raster/Vector Tile Sources
Hello, I am using the Mapbox Maps Flutter SDK and trying to enable offline map support with a custom style.json file. My style references raster and/or vector tile sources hosted on my own servers (not Mapbox). The style loads and displays correctly online, and loadStylePack works as expected. However, when I attempt to download a tile region for offline use with these custom sources, the download progress remains at zero and no tiles are downloaded. No error is thrown, but the offline region is not populated. Steps to reproduce: Create a style.json referencing custom raster/vector tile sources (e.g., WMS, XYZ, or self-hosted vector tiles). Use this style URL with loadStylePack and loadTileRegion in the Flutter SDK. Observe that the style pack loads, but the tile region download does not progress and no tiles are cached for offline use. Expected behavior: I expect the SDK to download and cache tiles from my custom sources for offline use, as the style specification allows non-Mapbox sources. Actual behavior: No tiles are downloaded for offline use when using custom (non-Mapbox) sources, even though the style loads and displays online. Question: Is offline tile region download with custom (non-Mapbox) tile sources supported in the Flutter SDK? If not, is there a workaround or is this a known limitation? Thank you!
Hi @azaderdogan , have you found a workaround yet? I am experiencing the same issue.
Hi @azaderdogan, @tchengck . Have any of you found a workaround?
nope unfortunately, I use MapLibre currently.
Same here. No workaround :(