Offline map tiles are not showing up
It may happen that when you have set up Terrastories for an offline environment ("Field Kit" or mesh) that your offline map tiles are not showing up on the Terrastories map.
Typically, there are two reasons for this:
Your map tiles are not properly defined in your style.json file. The
mbtiles
orpmtiles
file must be defined in thesources
array, and you must have layers which place and style your data (raster or vector) within thelayers
array. See Preparing offline map packages for more.Your map tiles cover a small area, and you are not sufficiently centered, and zoomed in, on that area. Many map tilesets start at zoom level 0, which is the whole world; hence, when you zoom out on Terrastories, you should start to see some tiles, and as you zoom in, you can see where the area that your tileset covers is located. However, some map tilesets may start at a much higher zoom level and are therefore hard to find on the map. To resolve this, we recommend setting a Zoom Level and Center coordinates, along with Map Bounds to avoid the user from traveling far away from your tiles. (You might need to get the coordinates for these from the source who created the map tiles, or use a tool like Mapbox Location Helper to figure them out.) See Modifying map settings for more.
Still having issues? Access the console in your browser's developer tools to see if there are any errors. If you need help interpreting these, please see Support for ways to get help.
Last updated