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

HERE_CITY_MAX_KMconstant

The furthest here-city will look, in kilometres. A larger number is read as this.

Import it

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

Definition

const HERE_CITY_MAX_KM: 20000 = 20000

Examples

import { HERE_CITY_MAX_KM, readHereCity } from "@johnmorrisdotca/chikyu-earth/markers";

console.log(readHereCity("999999") === HERE_CITY_MAX_KM);
true

What it prints (run when this page was built)

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