setMaxRouteLengthDisplay

fun setMaxRouteLengthDisplay(appContext: Context, length: Int)

This option defines the maximum length (in meters) of the route to be displayed.

Parameters

length

distance in meters. If 0 or lower, the entire route is displayed.