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 · Printable sheets: the globe and a world map to colour, my country, day and night, the seasons

globeSheetSvgfunction

The globe as a colouring sheet: one side of the Earth as a big disc, the continents with thick outlines, the continents' and oceans' names written on them, and three facts under it. A view is the Americas, Europe and Africa, or Asia and Oceania. widthMm and heightMm are the room it is drawn for, and the viewBox is that room, so a millimetre is a millimetre on paper.

Import it

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

Definition

function globeSheetSvg(view: GlobeView, options: SheetOptions): string

Parameters

NameTypeDescription
view"americas" | "europe-africa" | "asia-oceania"

americas, europe-africa or asia-oceania.

optionsSheetOptions

The room, the language and the type.

Returns

string

The <svg> markup.

Examples

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

const svg = globeSheetSvg("europe-africa", { widthMm: 184.6, heightMm: 180, lang: "en" });
console.log(svg.includes("Africa"), svg.includes("Atlantic"));
true true

What it prints (run when this page was built)

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