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

mergeElementSetsfunction

The element sets of several lists as one, one set for each satellite: where two lists have the same NORAD number the set with the newer epoch wins, and a tie goes to the list that came first.

Import it

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

Definition

function mergeElementSets(lists: readonly { id: string | null; sets: readonly ElementSet[]; }[]): { set: ElementSet; id: string | null; }[]

Parameters

NameTypeDescription
listsreadonly { id: string | null; sets: readonly ElementSet[]; }[]

Each list's sets, with the id of the source they came from (null for sets the page set itself).

Returns

{ set: ElementSet; id: string | null; }[]

The sets, each with the id of the source it came from (an id of null means a set the page set itself, not one from a source).

Examples

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

console.log(mergeElementSets([]).length);
0

What it prints (run when this page was built)

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