setNavigationRoadBlock

external fun setNavigationRoadBlock(length: Int, startLink: Int = -1, navigationListener: NavigationListener? = null)

Set a roadblock on the current route having the length specified in meters starting from the current GPS position.

Parameters

length

The length specified in meters

startLink

The first link of the roadblock, defaults to -1

navigationListener

Navigation listener used to identify the navigation instance