Class Directions

Represents a set of directions between two points.

Directions are used to represent the path between two points on the map, as well as the instructions to follow the path.

Properties

lastConnection?: Connection
lastConnectionAction?: "take" | "exit"

Accessors

  • get distance(): number
  • The total distance of the path in meters.

    Returns number