Builder
Responsible for instantiating an instance of MapboxRouteLineOptions
Parameters
an instance of Context
an instance of RouteLineResources
determines the elevation of the route layers
a collection of RouteStyleDescriptor objects
indicates if the vanishing route line feature is enabled
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.
enabling this will display the traffic color transitions with a gradual gradient color blend. If false the color transitions will abruptly transition from one color to the next.
this value influences the length of the color transition when the displaySoftGradientForTraffic param is set to 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.