SatelliteGroupInfo型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
A group of satellites the demo offers as one button: what it is, in English and Japanese, and where its elements come from (a CelesTrak list name, or single catalogue numbers).
インポート
import type { SatelliteGroupInfo } from "@johnmorrisdotca/chikyu-earth/satellites";
定義
interface SatelliteGroupInfo {
id: string;
label: string;
labelJa: string;
about: string;
aboutJa: string;
orbit: OrbitKind;
still: boolean;
celestrak?: string;
catnr?: readonly number[];
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
id | string | A short name for an address or a button, lower case with hyphens. |
label | string | |
labelJa | string | |
about | string | A line on what the group is. |
aboutJa | string | |
orbit | OrbitKind | |
still | boolean | True when the satellites of this group sit still over one place (geostationary), so a reader is not surprised that they do not move. |
celestrak (省略可) | string | undefined | The name of the CelesTrak list ( |
catnr (省略可) | readonly number[] | undefined | Single NORAD catalogue numbers to ask for one by one, when the group has no list of its own. |
例
import { SATELLITE_GROUPS } from "@johnmorrisdotca/chikyu-earth/satellites";
const gps = SATELLITE_GROUPS.find((group) => group.id === "gps");
console.log(gps?.celestrak, gps?.orbit);gps-ops meo出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。