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_SUBREGIONSconstant

The twenty-two subregions of UN M49, as kuni has them, each with the countries of this table in it.

Import it

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

Definition

const CHIZU_SUBREGIONS: readonly ChizuGroup[]

Examples

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

const southeast = CHIZU_SUBREGIONS.find((group) => group.name === "Southeast Asia")!;
console.log(CHIZU_SUBREGIONS.length, southeast.code, southeast.nameJa, southeast.codes.length);
// 22 035 東南アジア 11
22 035 東南アジア 11

What it prints (run when this page was built)

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