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
sourcesIReadOnlyList<Coordinates>The ordered list of source coordinates.
targetCoordinatesThe single target coordinate.
countryCountryThe 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
nullon failure.