Skip to the content

Chikyu Earth地球

A line-drawn globe of the world's countries that turns at the Earth's own rate, with an optional realistic Earth from space and markers for any place.

Chikyu is the Japanese word 地球 for the Earth. About the name

Contents

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

NameTypeDescription
latitudenumber
longitudenumber
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.68

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/chikyu-earth 0.51.1.