-
Notifications
You must be signed in to change notification settings - Fork 53
Description
I'm not able to change the route line default color as in the image below, I tried by changing routeDefaultColor without a result
val customColorResources = RouteLineColorResources.Builder() .routeCasingColor(Color.parseColor("#00DEDF")) .routeDefaultColor(Color.parseColor("#00DEDF"))//TODO :: it is not work .build() val routeLineResources = RouteLineResources.Builder() .routeLineColorResources(customColorResources) .build() val mapboxRouteLineOptions = MapboxRouteLineOptions.Builder(this) .withVanishingRouteLineEnabled(true) .withRouteLineResources(routeLineResources) .withRouteLineBelowLayerId(LocationComponentConstants.LOCATION_INDICATOR_LAYER) .build() routeLineApi = MapboxRouteLineApi(mapboxRouteLineOptions) routeLineView = MapboxRouteLineView(mapboxRouteLineOptions)
Navigation SDK : com.mapbox.navigation:android:2.9.4
any help here ?
