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 place under a point: country, sea, continent and the nearest city

PlaceNametype

A named place: an id, and the English and Japanese names.

Import it

import type { PlaceName } from "@johnmorrisdotca/chikyu-earth/place";

Definition

interface PlaceName {
    id: string;
    name: string;
    nameJa: string;
}

Members

NameTypeDescription
idstring
namestring
nameJastring

Examples

import type { PlaceName } from "@johnmorrisdotca/chikyu-earth/place";

const pacific: PlaceName = { id: "pacific-ocean", name: "Pacific Ocean", nameJa: "太平洋" };
console.log(pacific.name);
Pacific Ocean

What it prints (run when this page was built)

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