RouteCoordinate
data class RouteCoordinate(val coordinate: GeoPoint, val routeOffset: Distance, val travelTime: Duration)
Represents route GeoPoints together with its distance offset along the route and estimated travel time.
Important: This is a Public Preview API. It may be changed or removed at any time.
Parameters
Constructors
Properties
Extensions
Link copied to clipboard
Calculates the geographic distance from this RouteCoordinate.coordinate to the GeoPoint given as an argument.