Class RoutingLocation
- Namespace
- Honua.Sdk.Abstractions.Routing
- Assembly
- Honua.Sdk.Abstractions.dll
Point input for route stops, facilities, incidents, barriers, and service-area centers.
public sealed class RoutingLocation
- Inheritance
-
RoutingLocation
- Inherited Members
Properties
Attributes
Additional provider-neutral attributes included with the network-analysis feature.
public IReadOnlyDictionary<string, JsonElement>? Attributes { get; init; }
Property Value
Coordinate
WGS84 point coordinate.
public required RoutingCoordinate Coordinate { get; init; }
Property Value
Id
Optional stable caller identifier.
public string? Id { get; init; }
Property Value
Name
Optional display name sent as the route stop/facility name.
public string? Name { get; init; }
Property Value
TimeWindow
Optional arrival window for stops when the provider supports time-window routing.
public RouteTimeWindow? TimeWindow { get; init; }
Property Value
Methods
FromLatitudeLongitude(double, double, string?)
Creates a location from latitude/longitude ordered values, which is common for GPS APIs.
public static RoutingLocation FromLatitudeLongitude(double latitude, double longitude, string? name = null)
Parameters
latitudedoubleLatitude in decimal degrees.
longitudedoubleLongitude in decimal degrees.
namestringOptional stop name.
Returns
- RoutingLocation
A routing location.
FromLongitudeLatitude(double, double, string?)
Creates a location from longitude/latitude ordered values.
public static RoutingLocation FromLongitudeLatitude(double longitude, double latitude, string? name = null)
Parameters
longitudedoubleLongitude in decimal degrees.
latitudedoubleLatitude in decimal degrees.
namestringOptional stop name.
Returns
- RoutingLocation
A routing location.