RouteParameters
RouteParameters =
object
Defined in: src/ExpoArcgis.types.ts:1341
Parameters for router.solveRoute. Mirrors the native RouteParameters.
Properties
Section titled “Properties”barriers?
Section titled “barriers?”
optionalbarriers?:PointGeometry[]
Defined in: src/ExpoArcgis.types.ts:1358
Point barriers — locations the route must avoid (e.g. road closures).
directionsLanguage?
Section titled “directionsLanguage?”
optionaldirectionsLanguage?:string
Defined in: src/ExpoArcgis.types.ts:1354
Language for the generated directions (e.g. 'en', 'es'). Defaults to the service default.
findBestSequence?
Section titled “findBestSequence?”
optionalfindBestSequence?:boolean
Defined in: src/ExpoArcgis.types.ts:1356
Whether the service may reorder stops to find the optimal sequence. Defaults to false.
returnDirections?
Section titled “returnDirections?”
optionalreturnDirections?:boolean
Defined in: src/ExpoArcgis.types.ts:1352
Whether to generate turn-by-turn directions. Defaults to true.
returnRoutes?
Section titled “returnRoutes?”
optionalreturnRoutes?:boolean
Defined in: src/ExpoArcgis.types.ts:1348
Whether to return route geometry/metrics. Defaults to true.
returnStops?
Section titled “returnStops?”
optionalreturnStops?:boolean
Defined in: src/ExpoArcgis.types.ts:1350
Whether to return the (possibly re-sequenced) stops. Defaults to false.
routeServiceUrl?
Section titled “routeServiceUrl?”
optionalrouteServiceUrl?:string
Defined in: src/ExpoArcgis.types.ts:1360
Route service URL. Defaults to the ArcGIS World Route Service.
travelMode?
Section titled “travelMode?”
optionaltravelMode?: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.