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 · Markers on the globe

readPlaceGroupsfunction

Whether places that crowd are gathered into one ring with their count (the attribute place-groups): on unless the value is off.

Import it

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

Definition

function readPlaceGroups(value: string | null): boolean

Parameters

NameTypeDescription
valuestring | null

The attribute's value, or null when it is not set.

Returns

boolean

False for off, true for anything else.

Examples

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

console.log(readPlaceGroups(null), readPlaceGroups("off")); // true false
true false

What it prints (run when this page was built)

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