setOkHttpClient

open fun setOkHttpClient(@Nullable client: OkHttpClient)

Set the OkHttpClient 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 OkHttpClient