InstructionsBannerView
@IBDesignable
open class InstructionsBannerView : BaseInstructionsBannerView, NavigationComponent
A banner view that contains the current step instruction and responds to tap and swipe gestures.
This class responds and gets updated as the user progresses along a route according to the
NavigationComponent
and BaseInstructionsBannerView
protocol.
-
Updates the instructions banner info as the user progresses along a route.
Declaration
Swift
public func navigationService(_ service: NavigationService, didPassVisualInstructionPoint instruction: VisualInstructionBanner, routeProgress: RouteProgress)
Parameters
service
The
NavigationService
instance that passes the instruction.instruction
The
VisualInstructionBanner
instance to be presented.routeProgress
The
RouteProgress
instance that the instruction banner view is updating.