RoutePreviewViewController
public class RoutePreviewViewController : UIViewController, Banner, RoutePreviewDataSource
Banner that is shown at the bottom of the screen and allows to show route-related information
in PreviewViewController.
-
The object that serves as the routes preview delegate.
Declaration
Swift
public weak var delegate: RoutePreviewViewControllerDelegate?
-
Configuration of the banner.
Declaration
Swift
public let bannerConfiguration: BannerConfiguration
-
Customization options that are used for the route(s) preview.
Declaration
Swift
public var routePreviewOptions: RoutePreviewOptions { get set } -
Initializes a
RoutePreviewViewControllerinstance.Declaration
Swift
public required init(_ routePreviewOptions: RoutePreviewOptions, bannerConfiguration: BannerConfiguration = BannerConfiguration(position: .bottomLeading))Parameters
routePreviewOptionsCustomization options that are used for the route(s) preview.
bannerConfigurationConfiguration of the banner.
RoutePreviewViewControlleris shown at the bottom of the screen by default.
Install in Dash
RoutePreviewViewController Class Reference