We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
val mapboxRouteLineApiOptions = MapboxRouteLineApiOptions.Builder().build() val mapboxRouteLineViewOptions = MapboxRouteLineViewOptions.Builder(this) .routeLineBelowLayerId("road-label-navigation") .routeLineColorResources(RouteLineColorResources.Builder() .routeLineTraveledColor(Color.RED) .routeLineTraveledCasingColor(Color.GREEN) .routeCasingColor(Color.BLUE) .routeClosureColor(Color.YELLOW) .routeDefaultColor(Color.GRAY) .build()).build() routeLineAPI = MapboxRouteLineApi(mapboxRouteLineApiOptions) routeLineView = MapboxRouteLineView(mapboxRouteLineViewOptions) val routeArrowOptions = RouteArrowOptions.Builder(this) .build() routeArrowView = MapboxRouteArrowView(routeArrowOptions)
I use the dependent version: implementation "com.mapbox.navigationcore:navigation:3.3.1" implementation "com.mapbox.navigationcore:copilot:3.3.1" implementation "com.mapbox.navigationcore:ui-maps:3.3.1" implementation "com.mapbox.navigationcore:voice:3.3.1" implementation "com.mapbox.navigationcore:tripdata:3.3.1" implementation "com.mapbox.navigationcore:android:3.3.1" implementation "com.mapbox.navigationcore:ui-components:3.3.1"
The text was updated successfully, but these errors were encountered:
@heyuejin2empty I am using version 2.19, in my app the withVanishingRouteLineEnabled(true) function was required for this color change
withVanishingRouteLineEnabled(true)
Sorry, something went wrong.
No branches or pull requests
I use the dependent version:
implementation "com.mapbox.navigationcore:navigation:3.3.1"
implementation "com.mapbox.navigationcore:copilot:3.3.1"
implementation "com.mapbox.navigationcore:ui-maps:3.3.1"
implementation "com.mapbox.navigationcore:voice:3.3.1"
implementation "com.mapbox.navigationcore:tripdata:3.3.1"
implementation "com.mapbox.navigationcore:android:3.3.1"
implementation "com.mapbox.navigationcore:ui-components:3.3.1"
The text was updated successfully, but these errors were encountered: