Skip to content

RouteParameters

RouteParameters = object

Defined in: src/ExpoArcgis.types.ts:1341

Parameters for router.solveRoute. Mirrors the native RouteParameters.

optional barriers?: PointGeometry[]

Defined in: src/ExpoArcgis.types.ts:1358

Point barriers — locations the route must avoid (e.g. road closures).


optional directionsLanguage?: string

Defined in: src/ExpoArcgis.types.ts:1354

Language for the generated directions (e.g. 'en', 'es'). Defaults to the service default.


optional findBestSequence?: boolean

Defined in: src/ExpoArcgis.types.ts:1356

Whether the service may reorder stops to find the optimal sequence. Defaults to false.


optional returnDirections?: boolean

Defined in: src/ExpoArcgis.types.ts:1352

Whether to generate turn-by-turn directions. Defaults to true.


optional returnRoutes?: boolean

Defined in: src/ExpoArcgis.types.ts:1348

Whether to return route geometry/metrics. Defaults to true.


optional returnStops?: boolean

Defined in: src/ExpoArcgis.types.ts:1350

Whether to return the (possibly re-sequenced) stops. Defaults to false.


optional routeServiceUrl?: string

Defined in: src/ExpoArcgis.types.ts:1360

Route service URL. Defaults to the ArcGIS World Route Service.


optional travelMode?: string

Defined in: src/ExpoArcgis.types.ts:1346

Travel mode name to use, looked up among the service’s travel modes (e.g. 'Driving Time', 'Walking Time'). Defaults to the service default.