WayNameView
@objc(MBWayNameView)
open class WayNameView : UIView
A host view for WayNameLabel
that shows a road name and a shield icon.
WayNameView
is hidden or shown depending on the road name information availability. In case if
such information is not present, WayNameView
is automatically hidden. If you’d like to completely
hide WayNameView
set WayNameView.isHidden
property to true
.
-
The background color of the
WayNameView
.Declaration
Swift
dynamic public override var backgroundColor: UIColor? { get set }
-
The color of the
WayNameView
‘s border.Declaration
Swift
@objc public dynamic var borderColor: UIColor? { get set }
-
The width of the
WayNameView
‘s border.Declaration
Swift
@objc public dynamic var borderWidth: CGFloat { get set }
-
The radius of the
WayNameView
‘s corner. By default corner radius is set to half ofWayNameView
’s height.Declaration
Swift
@objc public dynamic var cornerRadius: CGFloat { get set }