mapbox-navigation-android icon indicating copy to clipboard operation
mapbox-navigation-android copied to clipboard

How to prefetch routing tiles?

Open ableabhijeet opened this issue 5 years ago • 2 comments

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 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?

image

ableabhijeet avatar Dec 02 '20 07:12 ableabhijeet

cc @etl @zugaldia @truburt @jyrigo

LukasPaczos avatar Jan 07 '21 15:01 LukasPaczos

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 19 '22 07:04 stale[bot]