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

BorderStatstype

What the borders have done: how many segments each set has, whether each was drawn at the last draw, the countries whose regions have arrived, how many times a set's lines were made, and whether a set could not be loaded.

Import it

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

Definition

interface BorderStats {
    countries: number;
    regions: number;
    shown: {
        countries: boolean;
        regions: boolean;
    };
    loaded: string[];
    builds: number;
    failed: boolean;
}

Members

NameTypeDescription
countriesnumber
regionsnumber
shown{ countries: boolean; regions: boolean; }
loadedstring[]
buildsnumber
failedboolean

Examples

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

const empty: BorderStats = { countries: 0, regions: 0, shown: { countries: false, regions: false }, loaded: [], builds: 0, failed: false };
console.log(empty);

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