Table of Contents

Interface IMatrixRoutesResolver

Namespace
XENBIT.ResQueServe.Abstractions.Interfaces
Assembly
RQS.Abstractions.dll

Extends routing resolution with matrix (many-to-one) drive-time queries.

[TypeScriptUnavailable]
public interface IMatrixRoutesResolver : IPrioritizedService
Inherited Members
Extension Methods

Methods

GetMatrixDriveTimesAsync(IReadOnlyList<Coordinates>, Coordinates, Country)

Asynchronously retrieves drive times from multiple source positions to a single target. Returns null if the request fails entirely, or an array whose elements are null for individual sources that could not be routed.

Task<IReadOnlyList<double?>?> GetMatrixDriveTimesAsync(IReadOnlyList<Coordinates> sources, Coordinates target, Country country = Country.NotSet)

Parameters

sources IReadOnlyList<Coordinates>

The ordered list of source coordinates.

target Coordinates

The single target coordinate.

country Country

The country context, used to select the regional routing instance. Defaults to NotSet.

Returns

Task<IReadOnlyList<double?>>

A list of nullable drive times in seconds — one entry per source — or null on failure.