BetterRouteStyle
public struct BetterRouteStyleRepresents the style used to display the better route.
Important
This is a Public Preview API. It may be changed or removed at any time.- 
                  
                  Initializes BetterRouteStylewith the given values.Throws StyleConfigurationError/invalidArgumentif:- lineWidthis an empty list, has duplicates or has values not greater than 0.
- outlineWidthis an empty list, has duplicates or has values not greater than 0.
 DeclarationSwift public init( lineWidth: [WidthScene] = Defaults.lineWidth, outlineWidth: [WidthScene] = Defaults.outlineWidth, lineColor: UIColor = Defaults.lineColor, markerStyle: MarkerStyle = MarkerStyle(), isMarkerVisible: Bool = Defaults.isMarkerVisible ) throwsParameterslineWidthThe width (in point units) per scene for a better route tube. By default, lineWidthis used. This parameter must be a non-empty list containing non-negative values for both the width and the scene. Items in this list must not contain duplicated values.outlineWidthThe width (in point units) of the line’s outline per scene for better route tube. By default, outlineWidthis used. This parameter must be a non-empty list containing non-negative values for both the width and the scene. Items in this list must not contain duplicated values.lineColorThe color of the better route tube. By default, lineColoris used. You can control the route line’s opacity by using the alpha component of theUIColor.markerStyleThe better route marker style. By default, init(pinImage:textFontURI:textSize:textColor:textAnchoring:textOffset:)with default values is used.isMarkerVisibleDetermines if the better route marker is visible. By default, isMarkerVisibleis used.
- 
                  
                  Initializes BetterRouteStylewith values fromDefaultsDeclarationSwift public init()
- 
                  
                  Default values for a better route style. See moreImportant This is a Public Preview API. It may be changed or removed at any time.DeclarationSwift public enum Defaults
- 
                  
                  The width (in point units) of the line per scene for a better route tube. This parameter must be a non-empty list containing non-negative values for both the width and the scene. Items in this list must not contain duplicated values. DeclarationSwift public let lineWidth: [WidthScene]
- 
                  
                  The width (in point units) of the outline per scene for better route tube. This parameter must be a non-empty list containing non-negative values for both the width and the scene. Items in this list must not contain duplicated values. DeclarationSwift public let outlineWidth: [WidthScene]
- 
                  
                  The color of the better route tube. You can control the route line’s opacity by using an alpha component of the UIColor.DeclarationSwift public let lineColor: UIColor
- 
                  
                  The better route marker style. DeclarationSwift public let markerStyle: MarkerStyle
- 
                  
                  The default value of the better route marker visibility. DeclarationSwift public let isMarkerVisible: Bool
- 
                  
                  Represents the style used to display the better route bubble. See moreImportant This is a Public Preview API. It may be changed or removed at any time.DeclarationSwift public struct MarkerStyle
 
         TomTom SDK for iOS (0.53.1)
 
          TomTom SDK for iOS (0.53.1)
         BetterRouteStyle
          BetterRouteStyle