DestinationOptions
public struct DestinationOptions
Customization options for the destination(s) preview using DestinationPreviewViewController
banner.
-
Primary text that is going to be shown in
DestinationPreviewViewController
. In case if last waypoint inDestinationOptions.waypoints
contains non-nil valueWaypoint.name
it’ll be used.Declaration
Swift
public var primaryText: NSAttributedString?
-
Array of waypoints which are presented.
Declaration
Swift
public let waypoints: [Waypoint]
-
Array of coordinates which are presented.
Declaration
Swift
public let coordinates: [CLLocationCoordinate2D]
-
Initializes a
DestinationOptions
struct.- paramater coordinates: List of coordinates which are presented.
Declaration
Swift
public init(coordinates: [CLLocationCoordinate2D])
-
Initializes a
DestinationOptions
struct.- paramater waypoints: List of waypoints which are presented.
Declaration
Swift
public init(waypoints: [Waypoint])