GeoBlazor Pro
layout: pro title: RouteResult parent: Pro Classes grand_parent: GeoBlazor Pro —
dymaptic.GeoBlazor.Pro
dymaptic.GeoBlazor.Pro.Model
RouteResult Class
The route result from route.solve() as part of a RouteSolveResult. A successfully solved route will contain one
RouteSolveRoute, which may contain barriers, messages, and one or more RouteResult.
RouteResult may contain stops, directions, directions lines, direction points, and route information, depending on
the corresponding RouteParameters properties. For example, setting RouteParameters.returnStops to true will include
stops in the RouteResult.
ArcGIS
Maps SDK for JavaScript
public class RouteResult :
System.IEquatable<dymaptic.GeoBlazor.Pro.Model.RouteResult>
Inheritance System.Object 🡒 RouteResult
Implements System.IEquatable<RouteResult>
Constructors
RouteResult(FeatureSet, FeatureSet, DirectionsFeatureSet, Graphic, string, Graphic[], FeatureSet, FeatureSet, FeatureSet) Constructor
The route result from route.solve() as part of a RouteSolveResult. A successfully solved route will contain one
RouteSolveRoute, which may contain barriers, messages, and one or more RouteResult.
RouteResult may contain stops, directions, directions lines, direction points, and route information, depending on
the corresponding RouteParameters properties. For example, setting RouteParameters.returnStops to true will include
stops in the RouteResult.
ArcGIS
Maps SDK for JavaScript
public RouteResult(dymaptic.GeoBlazor.Core.Components.Layers.FeatureSet? DirectionLines, dymaptic.GeoBlazor.Core.Components.Layers.FeatureSet? DirectionPoints, dymaptic.GeoBlazor.Pro.Model.DirectionsFeatureSet? Directions, dymaptic.GeoBlazor.Core.Components.Layers.Graphic? Route, string? RouteName, dymaptic.GeoBlazor.Core.Components.Layers.Graphic[]? Stops, dymaptic.GeoBlazor.Core.Components.Layers.FeatureSet? TraversedEdges, dymaptic.GeoBlazor.Core.Components.Layers.FeatureSet? TraversedJunctions, dymaptic.GeoBlazor.Core.Components.Layers.FeatureSet? TraversedTurns);
Parameters
DirectionLines
dymaptic.GeoBlazor.Core.Components.Layers.FeatureSet
Direction lines contains a set of line features for each segment of the route. This feature set can be used to
visualize the turn-by-turn directions on a map. Direction lines are returned if RouteParameters.ReturnDirections is
set to true and RouteParameters.DirectionsOutputType is set to FeatureSet in a Route.Solve() request.
DirectionPoints
dymaptic.GeoBlazor.Core.Components.Layers.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. This feature set contains the
route’s turn-by-turn directions. Direction points are returned if RouteParameters.ReturnDirections is set to true
and RouteParameters.DirectionsOutputType is set to FeatureSet in a Route.Solve() request.
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.
Route
dymaptic.GeoBlazor.Core.Components.Layers.Graphic
This property returns a Graphic that represent the overall path with attributes containing the total cost. Route is
returned if RouteParameters.returnRoutes is set to true in a Route.Solve() request.
RouteName
System.String
The name of the route.
Stops
dymaptic.GeoBlazor.Core.Components.Layers.Graphic[]
Array of stops. Stops are returned if RouteParameters.ReturnStops is set to true in a Route.Solve() request.
TraversedEdges
dymaptic.GeoBlazor.Core.Components.Layers.FeatureSet
This provides access to the edges that are traversed while solving a network analysis layer. Traversed edges are
returned if RouteParameters.ReturnTraversedEdges is set to true in a Route.Solve() request.
TraversedJunctions
dymaptic.GeoBlazor.Core.Components.Layers.FeatureSet
This provides access to the junctions that are traversed while solving a network analysis layer. Traversed
junctions are returned if RouteParameters.ReturnTraversedJunctions is set to true in a Route.Solve() request.
TraversedTurns
dymaptic.GeoBlazor.Core.Components.Layers.FeatureSet
This provides access to the turns that are traversed while solving a network analysis layer. Traversed turns are
returned if RouteParameters.ReturnTraversedTurns is set to true in a Route.Solve() request.
Properties
RouteResult.DirectionLines Property
Direction lines contains a set of line features for each segment of the route. This feature set can be used to
visualize the turn-by-turn directions on a map. Direction lines are returned if RouteParameters.ReturnDirections is
set to true and RouteParameters.DirectionsOutputType is set to FeatureSet in a Route.Solve() request.
public dymaptic.GeoBlazor.Core.Components.Layers.FeatureSet? DirectionLines { get; set; }
Property Value
dymaptic.GeoBlazor.Core.Components.Layers.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. This feature set contains the
route’s turn-by-turn directions. Direction points are returned if RouteParameters.ReturnDirections is set to true
and RouteParameters.DirectionsOutputType is set to FeatureSet in a Route.Solve() request.
public dymaptic.GeoBlazor.Core.Components.Layers.FeatureSet? DirectionPoints { get; set; }
Property Value
dymaptic.GeoBlazor.Core.Components.Layers.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.
public dymaptic.GeoBlazor.Pro.Model.DirectionsFeatureSet? Directions { get; set; }
Property Value
RouteResult.Route Property
This property returns a Graphic that represent the overall path with attributes containing the total cost. Route is
returned if RouteParameters.returnRoutes is set to true in a Route.Solve() request.
public dymaptic.GeoBlazor.Core.Components.Layers.Graphic? Route { get; set; }
Property Value
dymaptic.GeoBlazor.Core.Components.Layers.Graphic
RouteResult.RouteName Property
The name of the route.
public string? RouteName { get; set; }
Property Value
RouteResult.Stops Property
Array of stops. Stops are returned if RouteParameters.ReturnStops is set to true in a Route.Solve() request.
public dymaptic.GeoBlazor.Core.Components.Layers.Graphic[]? Stops { get; set; }
Property Value
dymaptic.GeoBlazor.Core.Components.Layers.Graphic[]
RouteResult.TraversedEdges Property
This provides access to the edges that are traversed while solving a network analysis layer. Traversed edges are
returned if RouteParameters.ReturnTraversedEdges is set to true in a Route.Solve() request.
public dymaptic.GeoBlazor.Core.Components.Layers.FeatureSet? TraversedEdges { get; set; }
Property Value
dymaptic.GeoBlazor.Core.Components.Layers.FeatureSet
RouteResult.TraversedJunctions Property
This provides access to the junctions that are traversed while solving a network analysis layer. Traversed
junctions are returned if RouteParameters.ReturnTraversedJunctions is set to true in a Route.Solve() request.
public dymaptic.GeoBlazor.Core.Components.Layers.FeatureSet? TraversedJunctions { get; set; }
Property Value
dymaptic.GeoBlazor.Core.Components.Layers.FeatureSet
RouteResult.TraversedTurns Property
This provides access to the turns that are traversed while solving a network analysis layer. Traversed turns are
returned if RouteParameters.ReturnTraversedTurns is set to true in a Route.Solve() request.
public dymaptic.GeoBlazor.Core.Components.Layers.FeatureSet? TraversedTurns { get; set; }