Reference · Passes: when a satellite crosses the sky over a place
Observertype
Where the watcher stands: degrees of latitude (north is positive) and longitude (east is positive), and the height above sea level in metres (0 by default).
Import it
import type { Observer } from "@johnmorrisdotca/chikyu-earth/passes";
Definition
interface Observer {
latitude: number;
longitude: number;
heightM?: number;
}
Members
| Name | Type | Description |
|---|---|---|
latitude | number | |
longitude | number | |
heightM (optional) | number | undefined |
Examples
import type { Observer } from "@johnmorrisdotca/chikyu-earth/passes";
const tokyo: Observer = { latitude: 35.68, longitude: 139.69, heightM: 40 };
console.log(tokyo.latitude);35.68What it prints (run when this page was built)