Computes the travel time of a connection.
Horizontal connections are pure walking time; stairs and elevators add a per-floor penalty and are excluded when avoidStairs is set.
avoidStairs
The connection
The travelled distance in metres
The resolved options
The weight in seconds, or Infinity when the connection is inaccessible
Infinity
Computes the travel time of a connection.
Horizontal connections are pure walking time; stairs and elevators add a per-floor penalty and are excluded when
avoidStairsis set.