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
RoutePreviewViewController
instance.Declaration
Swift
public required init(_ routePreviewOptions: RoutePreviewOptions, bannerConfiguration: BannerConfiguration = BannerConfiguration(position: .bottomLeading))
Parameters
routePreviewOptions
Customization options that are used for the route(s) preview.
bannerConfiguration
Configuration of the banner.
RoutePreviewViewController
is shown at the bottom of the screen by default.