Class Directions

Represents a set of directions between two points on the MapView.

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

Hierarchy

  • Directions

Accessors

  • get distance(): number
  • Gets the total distance of the path.

    This property returns the total distance of the path in meters.

    Returns number

    Total distance in meters.