setDataProviders

abstract fun setDataProviders(customDataProviders: List<DataProvider>)

Replaces the list of DataProvider used as alternative sources of tiles.

Tiles loaded from the old DataProvider will be replaced with the new tiles loaded from the first DataProvider in the list that can handle (DataProvider.canHandle) the specified URI. Otherwise, it will be handled internally by the default data provider.

Parameters

dataProviders

The list of DataProvider used as alternative sources of tiles.