Table of Contents

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

double

DurationSeconds

Gets the total duration of the route in seconds.

double DurationSeconds { get; init; }

Property Value

double

From

Gets the starting location of the route.

Coordinates From { get; init; }

Property Value

Coordinates

Legs

Gets the individual steps that make up the route.

IEnumerable<IRouteLeg> Legs { get; init; }

Property Value

IEnumerable<IRouteLeg>

To

Gets the destination location of the route.

Coordinates To { get; init; }

Property Value

Coordinates