MPIDirections
public struct MPIDirections : Codable
MPIDirections
contains paths and instructions to go from an MPINavigatable
object to another MPINavigatable
object
-
Total distance of path in meters
Declaration
Swift
public let distance: Double
-
An array of
MPINodes
that form a pathDeclaration
Swift
public let path: [MPINode]
-
An array of
MPIInstructions
to display to the userDeclaration
Swift
public let instructions: [MPIInstruction]