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

TrackPlacetype

The place a ground track is in at one sample: a country, a country it is only near, or a sea or ocean.

Import it

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

Definition

interface TrackPlace {
    kind: "country" | "near" | "sea";
    id: string;
    name: string;
    nameJa: string;
}

Members

NameTypeDescription
kind"sea" | "country" | "near"
idstring
namestring
nameJastring

Examples

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

const france: TrackPlace = { kind: "country", id: "FR", name: "France", nameJa: "フランス" };
console.log(france.kind);
country

What it prints (run when this page was built)

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