Skip to content

Route

Route = object

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

A single solved route. Mirrors the native Route.

directions: DirectionManeuver[]

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

Turn-by-turn directions (empty unless returnDirections is set).


geometry: PolylineGeometry | null

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

The route line (null if the service returns none).


name: string

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

Route name (usually derived from the first and last stop).


totalLength: number

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

Total length of the route, in meters.


totalTime: number

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

Total elapsed time including any wait/service time, in minutes.


travelTime: number

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

Travel time along the route, in minutes.