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 realistic Earth's pure parts

SeaNametype

A name placed for one draw: its id, the text, and the box it takes.

Import it

import type { SeaName } from "@johnmorrisdotca/chikyu-earth/realistic";

Definition

interface SeaName {
    id: string;
    kind: SeaFeature["kind"];
    text: string;
    left: number;
    top: number;
    width: number;
    height: number;
    size: number;
}

Members

NameTypeDescription
idstring
kind"ocean" | "continent" | "sea" | "gulf" | "bay"
textstring
leftnumber
topnumber
widthnumber
heightnumber
sizenumber

Examples

import type { SeaName } from "@johnmorrisdotca/chikyu-earth/realistic";

const say = (one: SeaName): string => one.text;
console.log(typeof say);
function

What it prints (run when this page was built)

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