OWN_SOURCESconstant
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 it
import { OWN_SOURCES } from "@johnmorrisdotca/chikyu-earth/door";
Definition
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",
},
])
Examples
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' ]What it prints (run when this page was built)