RouteRequest
A request for a route through the stops, in order.
This is an interface exported by @mapcairn/core, checked against version 0.2.0.
Signature
import type { RouteRequest } from "@mapcairn/core";
interface RouteRequest
Properties
mode
readonly mode: TravelMode;
How the traveller moves.
signal
readonly signal?: AbortSignal;
Cancels the request. It then rejects with an aborted error.
stops
readonly stops: readonly LatLng[];
At least two positions: where to start, any stops between, and where to end.