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

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

Exports

NameKindWhat it is
alongTrackfunctionThe ordered changes of place along a ground track.
PLACE_COAST_KMconstantHow close to a 1:110m outline, in kilometres, still counts as that country nearby.
PlaceCitiestypeThe city lists for placeOf.
PlaceCitytypeThe nearest city, from the lists the caller passed.
PlaceCountrytypeA country from the outlines.
PlaceNametypeA named place: an id, and the English and Japanese names.
PlaceNeartypeThe nearest country when the point is outside every outline and within PLACE_COAST_KM of one.
placeOffunctionThe country, sea or ocean, continent and nearest city at one point.
PlaceOftypeWhat placeOf returns.
PlaceOptionstypeOptions for placeOf and alongTrack.
SEA_REACH_KMconstantHow far from a sea, gulf or bay's own point, in kilometres, a point still counts as that water.
TrackChangetypeOne change along a ground track.
TrackPlacetypeThe place a ground track is in at one sample: a country, a country it is only near, or a sea or ocean.

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