VisualInstructionBanner
open class VisualInstructionBanner : Codable
extension VisualInstructionBanner: Equatable
A visual instruction banner contains all the information necessary for creating a visual cue about a given RouteStep
.
-
Initializes a visual instruction banner with the given instructions.
Declaration
Swift
public init(distanceAlongStep: LocationDistance, primary: VisualInstruction, secondary: VisualInstruction?, tertiary: VisualInstruction?, quaternary: VisualInstruction?, drivingSide: DrivingSide)
-
Declaration
Swift
public func encode(to encoder: Encoder) throws
-
Declaration
Swift
required public init(from decoder: Decoder) throws
-
The distance at which the visual instruction should be shown, measured in meters from the beginning of the step.
Declaration
Swift
public let distanceAlongStep: LocationDistance
-
The most important information to convey to the user about the
RouteStep
.Declaration
Swift
public let primaryInstruction: VisualInstruction
-
Less important details about the
RouteStep
.Declaration
Swift
public let secondaryInstruction: VisualInstruction?
-
A visual instruction that is presented simultaneously to provide information about an additional maneuver that occurs in rapid succession.
This instruction could either contain the visual layout information or the lane information about the upcoming maneuver.
Declaration
Swift
public let tertiaryInstruction: VisualInstruction?
-
A visual instruction that is presented to provide information about the incoming junction. This instruction displays a zoomed image of incoming junction.
Declaration
Swift
public let quaternaryInstruction: VisualInstruction?
-
Which side of a bidirectional road the driver should drive on, also known as the rule of the road.
Declaration
Swift
public var drivingSide: DrivingSide
-
Declaration
Swift
public static func == (lhs: VisualInstructionBanner, rhs: VisualInstructionBanner) -> Bool