Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TripPattern

Hierarchy

  • TripPattern

Index

Properties

directDuration: number

This sums the direct durations of each leg. Be careful about using this, as it is not equal to the duration between startTime and endTime. See the directDuration documentation on Leg.

distance: number

Total distance for the trip, in meters.

duration: number

Duration of the trip, in seconds.

endTime: string
deprecated

Use expectedEndTime instead

expectedEndTime: string

The expected, realtime adjusted date and time the trip ends.

expectedStartTime: string

The expected, realtime adjusted date and time the trip starts.

id?: string
legs: Leg[]
startTime: string
deprecated

Use expectedStartTime instead

walkDistance: number

How far the user has to walk, in meters.

Generated using TypeDoc