RoutePoint

A GeoPoint on the route together with its distance offset along the route, estimated travel time, and remaining fuel or energy.

Constructors

Link copied to clipboard
constructor(coordinate: GeoPoint, routeOffset: Distance, travelTime: Duration)

A GeoPoint on the route together with its distance offset along the route, estimated travel time, and remaining fuel or energy.

constructor(coordinate: GeoPoint, routeOffset: Distance, travelTime: Duration, remainingBudget: Consumption?)

A GeoPoint on the route together with its distance offset along the route, estimated travel time, and remaining fuel or energy.

Properties

Link copied to clipboard

GeoPoint from the route polyline.

Link copied to clipboard

Remaining fuel or battery charge when reaching this point of the route, as a Consumption.Energy instance. Charging stops are considered in this calculation. Thus, to determine the energy used between two offsets, use the difference in the remaining budget at these points, adding any energy charged at stops in between.

Link copied to clipboard

Distance offset along the route.

Link copied to clipboard

Travel time (including traffic delay) from the start of the route.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Checks if this route point is equal to another object.

Link copied to clipboard
open override fun hashCode(): Int

Generates a hash code for this route point.

Link copied to clipboard
open override fun toString(): String

Returns a string representation of the route point.