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

MapLayertype

What a map source draws: day and night are the Earth's pictures, which the realistic Earth lays tiles over; clouds and water are the door's for the whole-Earth layers they are, which the package does not tile or draw yet.

Import it

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

Definition

type MapLayer = "day" | "night" | "clouds" | "water";

Examples

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

const layers: MapLayer[] = ["day", "night", "clouds", "water"];
console.log(layers.join(", "));
day, night, clouds, water

What it prints (run when this page was built)

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