showSpeedWhenUnavailable

fun showSpeedWhenUnavailable(showSpeedWhenUnavailable: Boolean): MapboxSpeedInfoOptions.Builder

Apply the value to show or hide speed UI when posted speed data is unavailable. Default value is false and speed UI will not be shown

Parameters

showSpeedWhenUnavailable

set true to show the speed UI and false to hide.