dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Results

RouteResult Class

The route result from route.solve() as part of a RouteSolveResult. ArcGIS Maps SDK for JavaScript

public record RouteResult : System.IEquatable<dymaptic.GeoBlazor.Pro.Results.RouteResult>

Inheritance System.Object 🡒 RouteResult

Implements System.IEquatable<RouteResult>

Constructors

RouteResult(FeatureSet, FeatureSet, DirectionsFeatureSet, Graphic, string, IReadOnlyCollection, FeatureSet, FeatureSet, FeatureSet) Constructor

The route result from route.solve() as part of a RouteSolveResult. ArcGIS Maps SDK for JavaScript

public RouteResult(dymaptic.GeoBlazor.Core.Model.FeatureSet? DirectionLines=null, dymaptic.GeoBlazor.Core.Model.FeatureSet? DirectionPoints=null, dymaptic.GeoBlazor.Pro.Results.DirectionsFeatureSet? Directions=null, dymaptic.GeoBlazor.Core.Components.Graphic? Route=null, string? RouteName=null, System.Collections.Generic.IReadOnlyCollection<dymaptic.GeoBlazor.Core.Components.Graphic>? Stops=null, dymaptic.GeoBlazor.Core.Model.FeatureSet? TraversedEdges=null, dymaptic.GeoBlazor.Core.Model.FeatureSet? TraversedJunctions=null, dymaptic.GeoBlazor.Core.Model.FeatureSet? TraversedTurns=null);

Parameters

DirectionLines FeatureSet

Direction lines contains a set of line features for each segment of the route. ArcGIS Maps SDK for JavaScript

DirectionPoints FeatureSet

Direction points contains a set of point features representing the direction maneuvers such as arriving to or departing from a stop, turning left or right, and other events along your route. ArcGIS Maps SDK for JavaScript

Directions DirectionsFeatureSet

Direction are returned if RouteParameters.returnDirections is set to `true` and RouteParameters.directionsOutputType is set to `complete`, `complete-no-events`, `instructions-only', `standard` or `summary-only` in a route.solve() request. ArcGIS Maps SDK for JavaScript

Route Graphic

This property returns a Graphic that represent the overall path with attributes containing the total cost. ArcGIS Maps SDK for JavaScript

RouteName System.String

The name of the route. ArcGIS Maps SDK for JavaScript

Stops System.Collections.Generic.IReadOnlyCollection<Graphic>

Array of stops. ArcGIS Maps SDK for JavaScript

TraversedEdges FeatureSet

This provides access to the edges that are traversed while solving a network analysis layer. ArcGIS Maps SDK for JavaScript

TraversedJunctions FeatureSet

This provides access to the junctions that are traversed while solving a network analysis layer. ArcGIS Maps SDK for JavaScript

TraversedTurns FeatureSet

This provides access to the turns that are traversed while solving a network analysis layer. ArcGIS Maps SDK for JavaScript

Properties

RouteResult.DirectionLines Property

Direction lines contains a set of line features for each segment of the route. ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Model.FeatureSet? DirectionLines { get; init; }

Property Value

FeatureSet

RouteResult.DirectionPoints Property

Direction points contains a set of point features representing the direction maneuvers such as arriving to or departing from a stop, turning left or right, and other events along your route. ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Model.FeatureSet? DirectionPoints { get; init; }

Property Value

FeatureSet

RouteResult.Directions Property

Direction are returned if RouteParameters.returnDirections is set to `true` and RouteParameters.directionsOutputType is set to `complete`, `complete-no-events`, `instructions-only', `standard` or `summary-only` in a route.solve() request. ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Pro.Results.DirectionsFeatureSet? Directions { get; init; }

Property Value

DirectionsFeatureSet

RouteResult.Route Property

This property returns a Graphic that represent the overall path with attributes containing the total cost. ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Components.Graphic? Route { get; init; }

Property Value

Graphic

RouteResult.RouteName Property

The name of the route. ArcGIS Maps SDK for JavaScript

public string? RouteName { get; init; }

Property Value

System.String

RouteResult.Stops Property

Array of stops. ArcGIS Maps SDK for JavaScript

public System.Collections.Generic.IReadOnlyCollection<dymaptic.GeoBlazor.Core.Components.Graphic>? Stops { get; init; }

Property Value

System.Collections.Generic.IReadOnlyCollection<Graphic>

RouteResult.TraversedEdges Property

This provides access to the edges that are traversed while solving a network analysis layer. ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Model.FeatureSet? TraversedEdges { get; init; }

Property Value

FeatureSet

RouteResult.TraversedJunctions Property

This provides access to the junctions that are traversed while solving a network analysis layer. ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Model.FeatureSet? TraversedJunctions { get; init; }

Property Value

FeatureSet

RouteResult.TraversedTurns Property

This provides access to the turns that are traversed while solving a network analysis layer. ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Model.FeatureSet? TraversedTurns { get; init; }

Property Value

FeatureSet