styleInactiveRouteLegsIndependently
fun styleInactiveRouteLegsIndependently(enable: Boolean): MapboxRouteLineApiOptions.Builder
Content copied to clipboard
Enabling this feature will change the color of the route legs that aren't currently being navigated. See RouteLineColorResources to specify the color used. Enabling this feature when vanishingRouteLineEnabled is true can have negative performance implications, especially for long routes.
Return
the builder
Parameters
enable
whether inactive legs should be styled independently