A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.arcgis.com/javascript/3/jsapi/routeresult-amd.html below:

RouteResult | API Reference | ArcGIS API for JavaScript 3.46

require(["esri/tasks/RouteResult"], function(RouteResult) { /* code goes here */ });
Description

(Added at v1.4)

The result from the Route Task. The RouteResult properties are dependent on the

RouteParameter

inputs. For example, directions are only returned if RouteParameters.returnDirections is set to "true". RouteResult has no constructor.

Samples

Search for

samples

that use this class.

Properties

Property Details

Route directions are returned if

RouteParameters.returnDirections

is set to true.

NOTE: For a more updated approach to working with directions, please see the Working with the Directions Widget topic.

The Route graphic that is returned if RouteParameters.returnRoutes is true.

Array of stops. Returned only if RouteParameters.returnStops is true.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4