Reference · The place under a point: country, sea, continent and the nearest city
TrackChangetype
One change along a ground track. t is the sample's own time, the first sample where the new place is seen, not a time guessed between samples.
The first sample is included, with leaving null. near is the approaching country.
Import it
import type { TrackChange } from "@johnmorrisdotca/chikyu-earth/place";
Definition
interface TrackChange {
t: number;
entering: TrackPlace | null;
leaving: TrackPlace | null;
}
Members
| Name | Type | Description |
|---|---|---|
t | number | |
entering | TrackPlace | null | |
leaving | TrackPlace | null |
Examples
import type { TrackChange } from "@johnmorrisdotca/chikyu-earth/place";
const change: TrackChange = { t: 0, entering: null, leaving: null };
console.log(change.t);0What it prints (run when this page was built)