setOkHttpClient

open fun setOkHttpClient(@Nullable client: Call.Factory)

Set the OkHttp Call.Factory used for requesting map resources.

This configuration survives across mapView instances. Reset the OkHttpClient to the default by passing null as parameter.

Parameters

client

the OkHttp Call.Factory, typically OkHttpClient.