MBSegment

public struct MBSegment

Segment of a trip

  • Transport type

    Declaration

    Swift

    public var transport: MBTransport
  • Confidence level of transport type

    Declaration

    Swift

    public var confidence: MBTransportConfidence
  • Waypoints (list of coordinates) of this segement (including start and end of this segement)

    Declaration

    Swift

    public var waypoints: [CLLocationCoordinate2D]
  • Duration of this trip segment

    Declaration

    Swift

    public var duration: TimeInterval
  • Travelled distance of this trip segment

    Declaration

    Swift

    public var distance: CLLocationDistance