tileStore

fun tileStore(tileStore: TileStore?): RoutingTilesOptions.Builder

Override tile store instance. It manages downloads and storage for requests to tile-related API endpoints. For offline/predictive-caching use cases this instance should be the same that is passed to map resource options. When creating the TileStore make sure to call TileStore.setOption with TileStoreOptions.MAPBOX_ACCESS_TOKEN and your token. By default (if null is provided here), the TileStore will be created with a filePath and NavigationOptions.accessToken.