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 data door: hand the package your own maps of the Earth or orbit data as a source with its own licence and credit, and see whose data is on the screen

EarthMapPlacetype

The place a map source is asked about: the family's MapPlace in degrees (longitude from lonMin to lonMax, which may pass 180 and is at most a whole turn, latitude from latMin to latMax), and the layer it is for.

Import it

import type { EarthMapPlace } from "@johnmorrisdotca/chikyu-earth/door";

Definition

type EarthMapPlace = MapPlace & {
    layer?: string;
};

Members

NameTypeDescription
lonMinnumber
lonMaxnumber
latMinnumber
latMaxnumber
layer (optional)string | undefined

Examples

import type { EarthMapPlace } from "@johnmorrisdotca/chikyu-earth/door";

const place: EarthMapPlace = { lonMin: 170, lonMax: 190, latMin: -10, latMax: 10, layer: "day" };
console.log(place.layer);
day

What it prints (run when this page was built)

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