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 path

    Declaration

    Swift

    public let path: [MPINode]
  • An array of MPIInstructions to display to the user

    Declaration

    Swift

    public let instructions: [MPIInstruction]