mapbox / mapbox/mapbox-navigation-android
How to prefetch routing tiles?
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 651
- Forks
- 321
- PR merge metrics
- No merged PRs in 30d
Description
I am using latest navigation sdk
```
implementation 'com.mapbox.navigation:ui:1.3.0-SNAPSHOT'
implementation 'com.mapbox.mapboxsdk:mapbox-sdk-services:5.6.0'
```
Blog [here](https://blog.mapbox.com/cut-fleet-data-bills-with-hybrid-online-offline-routing-5b10ee4bfa76) talks about offline capabilities available in latest sdk.
Download Map tiles -- I know how to download map tiles. We need to create offline regions using `OfflineManager`
```
offlineManager.createOfflineRegion(
definition,
metadata,
new OfflineManager.CreateOfflineRegionCallback() {...})
```
Map tiles are stored in mbgl-offline.db file. That's clear.
Question is how to download routing tiles? I couldn't find any documentation/examples.
**Is it possible to prefetch routing tiles?**

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the issue's OfflineManager example and the linked offline-capabilities blog post. Investigate whether the navigation SDK exposes routing-tile prefetching beyond map tiles and whether any documentation or examples cover it. Done means documenting a supported workflow or clearly recording that prefetching is unavailable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100