vanishingRouteLineUpdateInterval

fun vanishingRouteLineUpdateInterval(interval: Long = RouteLayerConstants.DEFAULT_VANISHING_POINT_MIN_UPDATE_INTERVAL_NANO): MapboxRouteLineOptions.Builder

Used for throttling the interval of updates to the vanishing route line. The default value is RouteLayerConstants.DEFAULT_VANISHING_POINT_MIN_UPDATE_INTERVAL_NANO.

Return

the builder

Parameters

interval

a value in nano seconds for optimizing the updating of the vanishing route line feature.