Skip to the content

Chizu地図

Draw SVG maps, frame regions, place numbered callouts and build geography quizzes with English and Japanese names.

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

Contents

Reference · Country names and groups

CHIZU_COUNTRIESconstant

Every country, with its names in English and Japanese, its reading, its continent and which maps have it.

Import it

import { CHIZU_COUNTRIES } from "@johnmorrisdotca/chizu/names";

Definition

const CHIZU_COUNTRIES: readonly ChizuCountry[]

Examples

import { CHIZU_COUNTRIES } from "@johnmorrisdotca/chizu/names";

const asia = CHIZU_COUNTRIES.filter((country) => country.group === "Asia");
console.log(CHIZU_COUNTRIES.length, asia.length, asia.find((country) => country.code === "KR")?.nameJa);
// 238 53 韓国
238 53 韓国

What it prints (run when this page was built)

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