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

PLACE_COAST_KMconstant

How close to a 1:110m outline, in kilometres, still counts as that country nearby. The outlines can sit tens of kilometres off a real coast, so a point this close is not reported as inside.

Import it

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

Definition

const PLACE_COAST_KM: 50 = 50

Examples

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

console.log(PLACE_COAST_KM);
50

What it prints (run when this page was built)

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