本文へ移動

Chikyu Earth地球

世界の国の輪郭を線で描いた地球儀です。地球と同じ速さで回ります。宇宙から見たような地球と、好きな場所の目印も使えます。

「地球」(ちきゅう) は、私たちが住む星の名前です。 名前について(英語)

目次

リファレンス · データの入口(自分で用意した地球の地図や軌道データを、ライセンスと出典つきのソースとして渡し、いま画面にあるのは誰のデータかを示します)

mergeElementSets関数

リファレンスの説明と例は英語です。見出しと目次は日本語です。

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 { mergeElementSets } from "@johnmorrisdotca/chikyu-earth/door";

定義

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

引数

名前型説明
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).

戻り値

{ 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).

例

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

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

出力(このページを作ったときに実行した結果)

ソースを見るGitHub で編集@johnmorrisdotca/chikyu-earth 0.51.1 のソースから作成しました。

この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。