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 · The data door: hand the package your own maps of the Earth or orbit data as a source with its own licence and credit, and see whose data is on the screen

ElementSetsReadtype

What readElementSets found: the frozen element sets that can be used, and skipped, the ones left out for a number that is not finite, a name that is not text or an orbit that is not an ellipse.

Import it

import type { ElementSetsRead } from "@johnmorrisdotca/chikyu-earth/door";

Definition

type ElementSetsRead = RecordsRead<ElementSet>;

Members

NameTypeDescription
status"ok" | "failed" | "aborted"
recordsreadonly ElementSet[]

Frozen. Empty unless the read succeeded.

skippednumber
reason (optional)string | undefined

Why a read failed.

Examples

import type { ElementSetsRead } from "@johnmorrisdotca/chikyu-earth/door";

const say = (read: ElementSetsRead): string => `${read.status}: ${read.records.length} kept, ${read.skipped} skipped`;
console.log(typeof say);
function

What it prints (run when this page was built)

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