Class RouteOptimizationOptions
- Namespace
- Honua.Sdk.Abstractions.Routing
- Assembly
- Honua.Sdk.Abstractions.dll
Options for optimized multi-stop route requests.
public sealed class RouteOptimizationOptions
- Inheritance
-
RouteOptimizationOptions
- Inherited Members
Properties
AdditionalParameters
Additional raw provider parameters for server-specific routing extensions.
public IReadOnlyDictionary<string, string?>? AdditionalParameters { get; init; }
Property Value
AvoidHighways
Requests highway restrictions when the server/network supports them.
public bool AvoidHighways { get; init; }
Property Value
AvoidTolls
Requests toll-road restrictions when the server/network supports them.
public bool AvoidTolls { get; init; }
Property Value
DirectionsLanguage
Optional language code for turn-by-turn directions.
public string? DirectionsLanguage { get; init; }
Property Value
DirectionsLengthUnits
Direction length units sent to GeoServices-compatible NAServer endpoints.
public string DirectionsLengthUnits { get; init; }
Property Value
OutputLines
Route line shape type sent to GeoServices-compatible NAServer endpoints.
public string OutputLines { get; init; }
Property Value
PointBarriers
Optional point barriers used by providers that support barrier feature sets.
public IReadOnlyList<RoutingLocation>? PointBarriers { get; init; }
Property Value
PreserveFirstStop
Whether the first stop must remain first when optimizing sequence.
public bool PreserveFirstStop { get; init; }
Property Value
PreserveLastStop
Whether the last stop must remain last when optimizing sequence.
public bool PreserveLastStop { get; init; }
Property Value
ResponseFormat
REST response format. Defaults to JSON.
public string ResponseFormat { get; init; }
Property Value
ReturnDirections
Requests turn-by-turn directions in the response.
public bool ReturnDirections { get; init; }
Property Value
ReturnRoutes
Requests route geometry in the response.
public bool ReturnRoutes { get; init; }
Property Value
RouteLayerName
Override for the route layer name.
public string? RouteLayerName { get; init; }
Property Value
ServiceId
Override for the routing service id.
public string? ServiceId { get; init; }
Property Value
StartTime
Optional route start time.
public DateTimeOffset? StartTime { get; init; }
Property Value
TravelMode
Optional server travel mode name or JSON travel-mode payload.
public string? TravelMode { get; init; }
Property Value
UseTraffic
Requests traffic-aware routing when the server/network supports it.
public bool UseTraffic { get; init; }