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 · Framing, geometry and quiz tools

ChizuFeatureGrouptype

The six groups the features come in, in the order they are drawn: from Natural Earth's physical files, marine (oceans, seas, bays, straits), under the land, landforms (deserts, ranges, plains), drawn only when chosen, lakes, rivers and peaks; and from kuni 国, capitals (a country's capital, its regions' seats).

Import it

import type { ChizuFeatureGroup } from "@johnmorrisdotca/chizu";

Definition

type ChizuFeatureGroup = "marine" | "landforms" | "lakes" | "rivers" | "peaks" | "capitals";

Examples

import { CHIZU_FEATURE_GROUPS, type ChizuFeatureGroup } from "@johnmorrisdotca/chizu";

const first: ChizuFeatureGroup = CHIZU_FEATURE_GROUPS[0];
console.log(first, CHIZU_FEATURE_GROUPS.length);
// marine 6
marine 6

What it prints (run when this page was built)

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