Route

data class Route(val path: Path, val distance: Double)

Represents a calculated route with path and distance information.

Since

0.0.86

Constructors

Link copied to clipboard
constructor(path: Path, distance: Double)

Properties

Link copied to clipboard

The destination of the route.

Link copied to clipboard

The total distance of the route in metres

Link copied to clipboard
val path: Path

The path of the route, which can be applied to a shape

Link copied to clipboard

A list of all points along the route path.