RoutePreviewOptions
public struct RoutePreviewOptions
Customization options for the routes(s) preview using RoutePreviewViewController banner.
-
RouteResponseobject, that contains an array of theRouteobjects, details about which will be presented.Declaration
Swift
public let routeResponse: RouteResponse -
The index of the route within the original
RouteResponseobject.Declaration
Swift
public let routeIndex: Int -
Initializes a
RoutePreviewOptionsstruct.- paramater routeResponse:
RouteResponseobject, that contains an array of theRouteobjects, details about which will be presented. - paramater routeIndex: The index of the route within the original
RouteResponseobject.
Declaration
Swift
public init(routeResponse: RouteResponse, routeIndex: Int = 0) - paramater routeResponse:
Install in Dash
RoutePreviewOptions Structure Reference