SpeedLimitView
public class SpeedLimitView : UIView
A view that displays a speed limit and resembles a real-world speed limit sign.
-
The sign’s background color.
Declaration
Swift
@objc public dynamic var signBackColor: UIColor { get set }
-
The color of the text on the sign.
This color is also used for the border of an MUTCD-style sign.
Declaration
Swift
@objc public dynamic var textColor: UIColor { get set }
-
The color of the border of a regulatory sign according to the Vienna Convention.
Declaration
Swift
@objc public dynamic var regulatoryBorderColor: UIColor { get set }
-
The speed limit to display.
The view displays the value of this property as is without converting it to another unit.
Declaration
Swift
public var speedLimit: Measurement<UnitSpeed>? { get set }
-
The sign standard that specifies the design that the view depicts.
Declaration
Swift
public var signStandard: SignStandard? { get set }
-
Allows to completely hide
SpeedLimitView
.Declaration
Swift
public var isAlwaysHidden: Bool { get set }
-
Defines the view behavior if the
speedLimit
property isnil
. Setting this property totrue
will cause the view to display"--"
as a speed limit instead of theSeedLimitView
being invisible.Declaration
Swift
public var shouldShowUnknownSpeedLimit: Bool { get set }