The routeLineTraveledColor does not work in version v3 sdk
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start with the reported RouteLineColorResources and MapboxRouteLineViewOptions configuration in the issue, using the listed 3.3.1 navigation dependencies to reproduce the behavior. Verify whether routeLineTraveledColor and the other configured colors affect the rendered route line, and document the result with a focused reproduction or test if the relevant test entry point can be found.
Written by the indexing model from the issue text.
Description
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"
- Dominant language
- Kotlin
- Stars
- 651
- Forks
- 321
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mapbox/mapbox-navigation-android
-
Difficulty 1/5 1-3 hours Newbie friendliness 65/100
mapbox/mapbox-navigation-android#7852 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
mapbox/mapbox-navigation-android#7966 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
mapbox/mapbox-navigation-android#7965 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
mapbox/mapbox-navigation-android#7955 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
mapbox/mapbox-navigation-android#7948 ·
All issues in mapbox/mapbox-navigation-android
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Anthonyy232/Paperize#614 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
bitcoindevkit/bdk-ffi#1125 ·
-
Issue: Bug
Difficulty 1/5 Under an hour Newbie friendliness 91/100
OpenAPITools/openapi-generator#24978 ·
-
helsemelding-json-schema json-schema-core
Difficulty 2/5 1-3 hours Newbie friendliness 68/100