Skip to the content

Chizu地図

Draw SVG maps of the world, its 253 countries and the regions of 33 of them, frame them, place numbered callouts and build geography quizzes, with names in English and Japanese today (Spanish, German and Chinese are planned).

Chizu is the Japanese word 地図 for map. About the name

Contents

Reference · /cities

CHIZU_CITY_TIERSconstant

The tiers loaded when none are asked for: every capital and every city of 100,000 people or more, about 9,000 cities.

Import it

import { CHIZU_CITY_TIERS } from "@johnmorrisdotca/chizu/cities";

Definition

const CHIZU_CITY_TIERS: readonly CityTier[] = Object.freeze(["capitals", "1m", "100k"] as const)

Examples

import { CHIZU_CITY_TIERS } from "@johnmorrisdotca/chizu/cities";

console.log(CHIZU_CITY_TIERS.join(" "));
// capitals 1m 100k
capitals 1m 100k

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/chizu 1.17.0.