Skip to main content

ReachableAreaRequest

A request for the area reachable from a place within a time.

This is an interface exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import type { ReachableAreaRequest } from "@mapcairn/core";

interface ReachableAreaRequest

Properties​

minutes​

readonly minutes: number;

The travel time, in minutes. Greater than zero.

mode​

readonly mode: TravelMode;

How the traveller moves.

origin​

readonly origin: LatLng;

Where the travel starts.

signal​

readonly signal?: AbortSignal;

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

See also​

Source: packages/core/src/ports/routing.ts:78