createHybridDataProvider

fun createHybridDataProvider(ndsStore: NdsStore, context: Context, inMemoryCacheEnabled: Boolean = true): DataProvider

Creates an instance of DataProvider that handles hybrid map tile requests.

Parameters

ndsStore

An instance of NdsStore for handling offline map tiles and for checking offline tile availability.

context

The context of the activity for configuring persistent tile cache.

inMemoryCacheEnabled

Specifies the status of in-memory cache for online requests.

See also

DataProviderFactory.Companion.createOnlineDataProvider

For the method used to create the online data provider.

For the method used to create the offline data provider.