Table of Contents

Class RouteSolveOptions

Namespace
Honua.Sdk.Abstractions.Routing
Assembly
Honua.Sdk.Abstractions.dll

Options shared by route solve requests.

public sealed class RouteSolveOptions
Inheritance
RouteSolveOptions
Inherited Members

Properties

AdditionalParameters

Additional raw provider parameters for server-specific routing extensions.

public IReadOnlyDictionary<string, string?>? AdditionalParameters { get; init; }

Property Value

IReadOnlyDictionary<string, string>

AvoidHighways

Requests highway restrictions when the server/network supports them.

public bool AvoidHighways { get; init; }

Property Value

bool

AvoidTolls

Requests toll-road restrictions when the server/network supports them.

public bool AvoidTolls { get; init; }

Property Value

bool

DirectionsLanguage

Optional language code for turn-by-turn directions.

public string? DirectionsLanguage { get; init; }

Property Value

string

DirectionsLengthUnits

Direction length units sent to GeoServices-compatible NAServer endpoints.

public string DirectionsLengthUnits { get; init; }

Property Value

string

OutputLines

Route line shape type sent to GeoServices-compatible NAServer endpoints.

public string OutputLines { get; init; }

Property Value

string

PointBarriers

Optional point barriers used by providers that support barrier feature sets.

public IReadOnlyList<RoutingLocation>? PointBarriers { get; init; }

Property Value

IReadOnlyList<RoutingLocation>

ResponseFormat

REST response format. Defaults to JSON.

public string ResponseFormat { get; init; }

Property Value

string

ReturnDirections

Requests turn-by-turn directions in the response.

public bool ReturnDirections { get; init; }

Property Value

bool

ReturnRoutes

Requests route geometry in the response.

public bool ReturnRoutes { get; init; }

Property Value

bool

RouteLayerName

Override for the route layer name.

public string? RouteLayerName { get; init; }

Property Value

string

ServiceId

Override for the routing service id.

public string? ServiceId { get; init; }

Property Value

string

StartTime

Optional route start time.

public DateTimeOffset? StartTime { get; init; }

Property Value

DateTimeOffset?

TravelMode

Optional server travel mode name or JSON travel-mode payload.

public string? TravelMode { get; init; }

Property Value

string

UseTraffic

Requests traffic-aware routing when the server/network supports it.

public bool UseTraffic { get; init; }

Property Value

bool