-1

My app (iOS/Android) needs to download raster tiles for using offline. Due to this issue I cannot add raster tiles to a Style through Mapbox Studio. What are the options to be able to download my raster tiles and display them even offline?

RustamG
  • 1,815
  • 1
  • 14
  • 16

1 Answers1

0

Mapbox Studio does not provide a way to download raster tiles -- that is, if you uploaded imagery to the tilesets page in Mapbox Studio via the Uploads API to create a raster tileset, this tileset is not available for download. You may have raster tiles already downloaded from another source, however, in which case this part of the answer is not applicable to your use case.

Storing raster tiles and displaying them offline is an example of sideloading, a workflow which Mapbox GL Native (the C++ library powering the Mapbox Maps SDKs for Android and iOS) no longer officially supports (as noted here). However, if you are able to create a local custom raster style using your raster tiles, you can follow this Android example and this iOS example to use said local style in your implementation.