Table of Contents

Class ClosestFacilityOptions

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

Options for closest-facility network-analysis requests.

public sealed class ClosestFacilityOptions
Inheritance
ClosestFacilityOptions
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>

ClosestFacilityLayerName

Override for the closest-facility layer name.

public string? ClosestFacilityLayerName { get; init; }

Property Value

string

DirectionsLanguage

Optional language code for turn-by-turn directions.

public string? DirectionsLanguage { 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

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?

TargetFacilityCount

Maximum number of facilities returned for each incident.

public int? TargetFacilityCount { get; init; }

Property Value

int?

TravelDirection

Provider travel direction parameter.

public string TravelDirection { get; init; }

Property Value

string

TravelMode

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

public string? TravelMode { get; init; }

Property Value

string