Interface IRoute
- Namespace
- XENBIT.ResQueServe.Abstractions.Interfaces
- Assembly
- RQS.Abstractions.dll
Represents a geographic route, including distance, duration, start and end locations, and route steps.
public interface IRoute
Properties
DistanceMeters
Gets the total distance of the route in meters.
double DistanceMeters { get; init; }
Property Value
DurationSeconds
Gets the total duration of the route in seconds.
double DurationSeconds { get; init; }
Property Value
From
Gets the starting location of the route.
Coordinates From { get; init; }
Property Value
Legs
Gets the individual steps that make up the route.
IEnumerable<IRouteLeg> Legs { get; init; }
Property Value
To
Gets the destination location of the route.
Coordinates To { get; init; }