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.waypointscontains non-nil valueWaypoint.nameit’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
DestinationOptionsstruct.- paramater coordinates: List of coordinates which are presented.
Declaration
Swift
public init(coordinates: [CLLocationCoordinate2D]) -
Initializes a
DestinationOptionsstruct.- paramater waypoints: List of waypoints which are presented.
Declaration
Swift
public init(waypoints: [Waypoint])
Install in Dash
DestinationOptions Structure Reference