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_CONTINENTSconstant

The seven continents, as kuni has them (UN M49 by way of CLDR): the Americas are two, and Central America and the Caribbean are in North America. Each with the countries of this table in it; every country is in exactly one.

Import it

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

Definition

const CHIZU_CONTINENTS: readonly ChizuGroup[]

Examples

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

console.log(CHIZU_CONTINENTS.map((continent) => `${continent.code} ${continent.nameJa} ${continent.codes.length}`).join(", "));
// AF アフリカ 57, AN 南極 0, AS アジア 53, EU ヨーロッパ 50, NA 北アメリカ大陸 38, OC オセアニア 26, SA 南アメリカ 14
AF アフリカ 57, AN 南極 0, AS アジア 53, EU ヨーロッパ 50, NA 北アメリカ大陸 38, OC オセアニア 26, SA 南アメリカ 14

What it prints (run when this page was built)

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