setMapboxStackConnected

open fun setMapboxStackConnected(connected: Boolean)

Connects or disconnects the Mapbox stack. If set to false, current and new HTTP requests will fail with HttpRequestErrorType#ConnectionError.

Parameters

connected

Set false to disconnect the Mapbox stack