Skip to content
Ziv edited this page May 2, 2026 · 2 revisions

The application tile streamer and maps streamer use an HTTP API to download tiles files and cache them. Tiles that already cached not downloaded again.

Currently the application use Mapbox for the world's tiles and Tomtom for roads map tiles. In my todo list, there is a task to provide a way to config the maps service. Their free tier is more than enough for a large scene (I played in the entire middle east and didn't reach the limits).

For the application to work you have to provide the tokens in the "options.json" file in assets directory, or to provide environment variables.

Add to the assets/options.json the following keys:

{
  "tiles_token": "***",
  "maps_token": "***"
}

Export environment variables:

export MAPBOX_TOKEN="***"
export TOMTOM_TOKEN="***"

Clone this wiki locally