MarkerStyle
public struct MarkerStyle
Represents the style used to display the better route bubble.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Creates a
MarkerStyleinstance.Declaration
Swift
public init( pinImage: UIImage? = Defaults.pinImage, fontURL: URL = Defaults.fontURL, textSize: Double = Defaults.textSize, textColor: UIColor = Defaults.textColor, textAnchoring: TextAnchoring = Defaults.textAnchoring, textOffset: MarkerLabelOptions.TextOffset = Defaults.textOffset )Parameters
pinImageThe image of the marker that represents a better route.
fontURLThe font of the better route marker text. Default font is NotoSans-CondensedMedium.
textSizeThe size of the text (in point units).
textColorThe color of the text shown for better route.
textAnchoringTextAnchoringdetermining how the label is positioned in the marker.textOffsetMarkerLabelOptions.TextOffsetdescribing the offset that will be used to position the label in the marker.
-
The image of the marker that represents a better route.
Declaration
Swift
public let pinImage: UIImage? -
The font of the better route marker text. The default font is NotoSans-CondensedMedium.
Declaration
Swift
public let fontURL: URL -
The size of the text (in point units).
Declaration
Swift
public let textSize: Double -
The color of the text shown for better route.
Declaration
Swift
public let textColor: UIColor -
TextAnchoringdetermining how the label is positioned in the marker.Declaration
Swift
public let textAnchoring: TextAnchoring -
MarkerLabelOptions.TextOffsetdescribing the offset that will be used to position the label in the marker.Declaration
Swift
public let textOffset: MarkerLabelOptions.TextOffset
TomTom SDK for iOS (0.47.3)
MarkerStyle