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

SourceInfotype

What a source says about itself. *

Import it

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

Definition

interface SourceInfo {
    id: string;
    name: {
        en: string;
        ja: string;
    };
    credit: {
        en: string;
        ja: string;
    };
    licence: Licence;
    url: string;
    retrieved: string;
}

Members

NameTypeDescription
idstring

Unique in a view: lower-case letters, digits and hyphens ("ucac4", "my-catalogue").

name{ en: string; ja: string; }
credit{ en: string; ja: string; }

The line shown on screen. Never empty, in both languages.

licenceLicence

The licence: its name and link are always shown with the credit.

urlstring

The source's own page.

retrievedstring

The day it was retrieved, yyyy-mm-dd, as NOTICE.md writes it.

Examples

import type { SourceInfo } from "./data-door.ts";

const info: SourceInfo = {
  id: "my-catalogue",
  name: { en: "My catalogue", ja: "私のカタログ" },
  credit: { en: "My catalogue, A. Person (2026)", ja: "私のカタログ(A. Person、2026年)" },
  licence: { name: "CC BY 4.0", url: "https://creativecommons.org/licenses/by/4.0/" },
  url: "https://example.org/my-catalogue",
  retrieved: "2026-11-10",
};

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