Interface IRouteLeg
- Namespace
- XENBIT.ResQueServe.Abstractions.Interfaces
- Assembly
- RQS.Abstractions.dll
Represents a single step within a geographic route, including distance, duration, and coordinates.
public interface IRouteLeg
Properties
Coordinates
Gets the coordinates at the end of this step.
Coordinates Coordinates { get; init; }
Property Value
DistanceMeters
Gets the distance of this step in meters.
double DistanceMeters { get; init; }
Property Value
DurationSeconds
Gets the duration of this step in seconds.
double DurationSeconds { get; init; }
Property Value
Name
Gets or sets the name associated with this step, if available.
string? Name { get; init; }