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 globe as an SVG string

STYLE_NAMESconstant

Every style's name, in the order they are listed.

Import it

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

Definition

const STYLE_NAMES: ("line" | "thick")[] = Object.keys(STYLES) as StyleName[]

Examples

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

console.log(STYLE_NAMES.join(", "));
line, thick

What it prints (run when this page was built)

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