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.
  • The image of the marker that represents a better route.

    Declaration

    Swift

    public let pinImage: MapImage?
  • The font of the better route marker text. The default font is NotoSans-CondensedMedium.

    Declaration

    Swift

    public let textFontURI: String
  • 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
  • TextAnchoring determining how the label is positioned in the marker.

    Declaration

    Swift

    public let textAnchoring: TextAnchoring
  • MarkerLabelOptions.TextOffset describing the offset that will be used to position the label in the marker.

    Declaration

    Swift

    public let textOffset: MarkerLabelOptions.TextOffset
  • Default values for the better route marker style.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum Defaults