Mapbox Route Line Options
Options for the configuration and appearance of the route line.
Parameters
an instance of RouteLineResources
an instance of RouteLayerProvider
the drawable for representing the origin icon
the drawable for representing the destination icon
determines the elevation of the route layers
an instance of the VanishingRouteLine
the tolerance value used when configuring the underlying map source
indicates if the route line will display restricted road sections with a dashed line
enabling this feature will change the color of the route legs that aren't currently being navigated. See RouteLineColorResources to specify the color used.
determines if the color transition between traffic congestion changes should use a soft gradient appearance or abrupt color change. This is false by default.
influences the length of the color transition when the displaySoftGradientForTraffic parameter is true.
can be used to decrease the frequency of the vanishing route line updates improving the performance at the expense of visual appearance of the vanishing point on the line during navigation.
the list of offset values for waypoint icons
the anchor value, the default is IconAnchor.CENTER