本文へ移動

Chikyu Earth地球

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

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

目次

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

OWN_SOURCES定数

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

The package's own data, as sources, written from the rows of NOTICE.md: chikyu-pictures (the whole-Earth pictures of the realistic Earth: day, night, clouds and water) and chikyu-tiles (the finer map tiles cut from NASA's bigger maps). A test holds that none is non-commercial or share-alike, so the package can pass all of it on under the MIT licence. A view's credit line is written from these and from the sources a caller handed in.

インポート

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

定義

const OWN_SOURCES: readonly SourceInfo[] = freeze([
    {
        id: "chikyu-pictures",
        name: { en: "Earth pictures", ja: "地球の画像" },
        credit: {
            en: "Earth pictures: NASA Earth Observatory (Blue Marble, Reto Stöckli; Black Marble, Suomi NPP VIIRS data)",
            ja: "地球の画像:NASA Earth Observatory(ブルーマーブル、Reto Stöckli/ブラックマーブル、Suomi NPP VIIRSデータ)",
        },
        licence: { name: "Public domain", url: `${NOTICE}#the-realistic-earths-pictures` },
        url: "https://github.com/johnmorrisdotca/chikyu-earth/tree/main/textures",
        retrieved: "2026-11-02",
    },
    {
        id: "chikyu-tiles",
        name: { en: "Finer map tiles", ja: "細かい地図のタイル" },
        credit: {
            en: "Finer map tiles: NASA Earth Observatory (Blue Marble: Next Generation; Black Marble, Suomi NPP VIIRS data), cut by Chikyu Earth",
            ja: "細かい地図のタイル:NASA Earth Observatory(ブルーマーブル・ネクストジェネレーション/ブラックマーブル、Suomi NPP VIIRSデータ)、Chikyu Earthで切り出したもの",
        },
        licence: { name: "Public domain", url: `${NOTICE}#the-earth-tiles` },
        url: "https://johnmorrisdotca.github.io/chikyu-earth/tiles/",
        retrieved: "2026-11-08",
    },
])

例

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

console.log(OWN_SOURCES.map((source) => `${source.id}: ${source.licence.name}`));
[ 'chikyu-pictures: Public domain', 'chikyu-tiles: Public domain' ]

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

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

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