# RouteRequest

A request for a route through the stops, in order.

This is an interface exported by `@mapcairn/sdk/browser`, checked against version 0.2.0.

## Signature

```ts
import type { RouteRequest } from "@mapcairn/sdk/browser";
 
interface RouteRequest
```

## Properties

### mode

```ts
readonly mode: TravelMode;
```

How the traveller moves.

### signal

```ts
readonly signal?: AbortSignal;
```

Cancels the request. It then rejects with an `aborted` error.

### stops

```ts
readonly stops: readonly LatLng[];
```

At least two positions: where to start, any stops between, and where to end.

## See also

- [`TravelMode`](https://docs.mapcairn.com/api/sdk/browser/TravelMode.md)
- [`LatLng`](https://docs.mapcairn.com/api/sdk/browser/LatLng.md)
