showProfileSpeedLimit

fun showProfileSpeedLimit(appContext: Context, show: Boolean)

When enabled, GuidanceProgress.currentSpeedLimit will return the lowest between the profile's maxSpeed and the road's legal speed limit. Otherwise it will always return the road's legal speed limit.

Parameters

appContext

The application context.

show

true to show the profile speed limit, false to hide it.