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 · Markers on the globe

HereCityHittype

The city chosen for one here place.

Import it

import type { HereCityHit } from "@johnmorrisdotca/chikyu-earth/markers";

Definition

interface HereCityHit {
    index: number;
    id: string;
    label: string;
    km: number;
}

Members

NameTypeDescription
indexnumber

Where the place is in the list given.

idstring

The city's id.

labelstring

The name to draw, in the page's language.

kmnumber

The great-circle distance kuni reported, in kilometres.

Examples

import type { HereCityHit } from "@johnmorrisdotca/chikyu-earth/markers";

const hit: HereCityHit = { index: 0, id: "Q90", label: "Paris", km: 2 };
console.log(hit.label);
Paris

What it prints (run when this page was built)

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