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 data door: hand the package your own maps of the Earth or orbit data as a source with its own licence and credit, and see whose data is on the screen

SourceStatstype

What a view's sources have done: for each record source how many records it holds and how many were left out.

Import it

import type { SourceStats } from "@johnmorrisdotca/chikyu-earth/door";

Definition

interface SourceStats {
    records: Record<string, {
        status: string;
        kept: number;
        skipped: number;
    }>;
}

Members

NameTypeDescription
recordsRecord<string, { status: string; kept: number; skipped: number; }>

Examples

import type { SourceStats } from "@johnmorrisdotca/chikyu-earth/door";

const kept = (stats: SourceStats): number => Object.keys(stats.records).length;
console.log(typeof kept);
function

What it prints (run when this page was built)

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