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

HOME_VIEWconstant

The view when it opens: the home centre, upright, at 1x with no pan.

Import it

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

Definition

const HOME_VIEW: GlobeView = Object.freeze({ yaw: 0, tilt: 0, zoom: 1, panX: 0, panY: 0 })

Examples

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

console.log(HOME_VIEW);
{ yaw: 0, tilt: 0, zoom: 1, panX: 0, panY: 0 }

What it prints (run when this page was built)

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