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

Licencetype

A licence: its name and a link are always shown beside the credit. *

Import it

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

Definition

interface Licence {
    name: string;
    nameJa?: string;
    url: string;
    spdx?: string;
    nonCommercial?: boolean;
    shareAlike?: boolean;
}

Members

NameTypeDescription
namestring
nameJa (optional)string | undefined

The name in Japanese, for a Japanese credit line: a source's own terms ("UCAC4の利用条件"). Left out, a plain phrase the door knows ("Public domain") is translated and an identifier ("CC BY 4.0") stays.

urlstring
spdx (optional)string | undefined

An SPDX identifier, when there is one.

nonCommercial (optional)boolean | undefined
shareAlike (optional)boolean | undefined

Examples

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

const licence: Licence = { name: "CC BY 4.0", url: "https://creativecommons.org/licenses/by/4.0/", spdx: "CC-BY-4.0" };

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