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 · /divisions-geo

DIVISIONS_GEO_CODESconstant

Every map of a country's regions as longitude and latitude, by code: the country's for the 33 countries that have one, and VN-2025 and GB-2025 for Vietnam's and the United Kingdom's of 2025, as in DIVISIONS_CODES.

Import it

import { DIVISIONS_GEO_CODES } from "@johnmorrisdotca/chizu/divisions-geo";

Definition

const DIVISIONS_GEO_CODES: readonly string[] = Object.keys(DIVISIONS_GEO_LOADERS).map((code) => code.toUpperCase())

Examples

import { DIVISIONS_GEO_CODES } from "@johnmorrisdotca/chizu/divisions-geo";

console.log(DIVISIONS_GEO_CODES.length, DIVISIONS_GEO_CODES.includes("JP"));
// 35 true
35 true

What it prints (run when this page was built)

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