BetterRouteStyle
class BetterRouteStyle(val lineWidth: List<WidthByZoom> = DEFAULT_LINE_WIDTH, val outlineWidth: List<WidthByZoom> = DEFAULT_OUTLINE_WIDTH, @ColorInt val lineColor: Int = DEFAULT_LINE_COLOR, val markerStyle: BetterRouteMarkerStyle = BetterRouteMarkerStyle())
Represents the style used to display the better route.
Important: This is a Public Preview API. It may be changed or removed at any time.
Constructors
Link copied to clipboard
constructor(lineWidth: List<WidthByZoom> = DEFAULT_LINE_WIDTH, outlineWidth: List<WidthByZoom> = DEFAULT_OUTLINE_WIDTH, @ColorInt lineColor: Int = DEFAULT_LINE_COLOR, markerStyle: BetterRouteMarkerStyle = BetterRouteMarkerStyle())
Properties
Link copied to clipboard
The width (in dp units) for the line for a better route tube. This parameter must be a non-empty list containing non-negative values for both the width and the zoom level where the width is used. Items in this list must not contain duplicated zoom level values.
Link copied to clipboard
The better route marker style.
Link copied to clipboard
The width (in dp units) of the line's outline for better route tube. This parameter must be a non-empty list containing non-negative values for both the width and the zoom level where the width is used. Items in this list must not contain duplicated zoom level values.