diff --git a/MapboxNavigation/Style.swift b/MapboxNavigation/Style.swift index c3ab4dfc25..d35809e6b9 100644 --- a/MapboxNavigation/Style.swift +++ b/MapboxNavigation/Style.swift @@ -411,6 +411,15 @@ open class WayNameView: UIView { } } + var attributedText: NSAttributedString? { + get { + return label.attributedText + } + set { + label.attributedText = newValue + } + } + @objc dynamic public var borderColor: UIColor? { get { guard let color = layer.borderColor else { return nil }