dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Model

RouteService Class

                GeoBlazor

                Docs

            </a>
            Find routes between two or more locations and optionally get driving directions.
            <a target="_blank" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-route.html">

                ArcGIS

                Maps SDK for JavaScript

            </a>
public class RouteService : dymaptic.GeoBlazor.Pro.Model.ProLogicComponent

Inheritance System.Object 🡒 LogicComponent 🡒 ProLogicComponent 🡒 RouteService

Constructors

RouteService(IAppValidator, IJSRuntime, JsModuleManager, AuthenticationManager) Constructor

                GeoBlazor

                Docs

            </a>
            Find routes between two or more locations and optionally get driving directions.
            <a target="_blank" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-route.html">

                ArcGIS

                Maps SDK for JavaScript

            </a>
public RouteService(dymaptic.GeoBlazor.Core.IAppValidator appValidator, Microsoft.JSInterop.IJSRuntime jsRuntime, dymaptic.GeoBlazor.Core.JsModuleManager jsModuleManager, dymaptic.GeoBlazor.Core.Model.AuthenticationManager authenticationManager);

Parameters

appValidator dymaptic.GeoBlazor.Core.IAppValidator

jsRuntime Microsoft.JSInterop.IJSRuntime

jsModuleManager JsModuleManager

authenticationManager AuthenticationManager

Methods

RouteService.Solve(string, RouteParameters, RequestOptions, CancellationToken) Method

Solves the route against the route layer with the route parameters.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Pro.Results.RouteSolveResult> Solve(string url, dymaptic.GeoBlazor.Pro.Model.RouteParameters routeParameters, dymaptic.GeoBlazor.Core.Options.RequestOptions? requestOptions=null, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));

Parameters

url System.String

URL to the ArcGIS Server REST resource that represents a network analysis service.

routeParameters RouteParameters

Route parameters used as input to generate the route.

requestOptions RequestOptions

Additional options to be used for the data request.

cancellationToken System.Threading.CancellationToken

The cancellation token to use for the operation.

Returns

System.Threading.Tasks.Task<RouteSolveResult>