RouteResult QML Type

The result from a RouteTask. More...

Import Statement: import Esri.ArcGISRuntime 100.15
Since: Esri.ArcGISRuntime 100.0
Inherits:

Object

Properties

Detailed Description

Note: You cannot declare or create a component of this type in QML code.

This is the result object returned from a RouteTask once it completes successfully. It contains a list of Routes, which lets you acccess the route geometry, direction maneuvers, and so on.

Property Documentation

directionsLanguage : string

The language of the resulting route directions (read-only).

This property was introduced in Esri.ArcGISRuntime 100.2.


messages : list<string>

Returns a list of messages about the RouteResult (read-only).


pointBarriers : list<PointBarriers>

Returns a list of the point barriers used in the RouteTask (read-only).

Only applicable if RouteParameters::returnPointBarriers used in this RouteTask is true.


polygonBarriers : list<PolygonBarriers>

Returns a list of the polygon barriers used in the RouteTask (read-only).

Only applicable if RouteParameters::returnPolygonBarriers used in this RouteTask is true.


polylineBarriers : list<PolylineBarriers>

Returns a list of the polyline barriers used in the RouteTask (read-only).

Only applicable if RouteParameters::returnPolylineBarriers used in this RouteTask is true.


routes : list<Route>

Returns a list of the resulting Routes (read-only).

Only applicable if RouteParameters::returnRoutes used in this RouteTask is true.


Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close