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

PlaceCountrytype

A country from the outlines. code is the ISO 3166-1 alpha-2 code, or null where the outline has none.

Import it

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

Definition

interface PlaceCountry {
    code: string | null;
    name: string;
    nameJa: string;
}

Members

NameTypeDescription
codestring | null
namestring
nameJastring

Examples

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

const japan: PlaceCountry = { code: "JP", name: "Japan", nameJa: "日本" };
console.log(japan.code);
JP

What it prints (run when this page was built)

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