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

CHIZU_FEATURE_KINDSconstant

The kinds in each group.

Import it

import { CHIZU_FEATURE_KINDS } from "@johnmorrisdotca/chizu";

Definition

const CHIZU_FEATURE_KINDS: Readonly<Record<ChizuFeatureGroup, readonly ChizuFeatureKind[]>> = {
    marine: ["ocean", "sea", "gulf", "bay", "strait", "channel", "sound", "fjord", "inlet", "lagoon", "reef"],
    landforms: ["desert", "range", "plateau", "plain", "peninsula", "cape", "basin", "delta", "valley", "wetland", "tundra", "isthmus", "depression", "lowland", "gorge", "foothills"],
    lakes: ["lake", "reservoir"],
    rivers: ["river"],
    peaks: ["peak"],
    capitals: ["capital", "seat"],
}

Members

NameTypeDescription
marinereadonly ChizuFeatureKind[]
landformsreadonly ChizuFeatureKind[]
lakesreadonly ChizuFeatureKind[]
riversreadonly ChizuFeatureKind[]
peaksreadonly ChizuFeatureKind[]
capitalsreadonly ChizuFeatureKind[]

Examples

import { CHIZU_FEATURE_KINDS } from "@johnmorrisdotca/chizu";

console.log(CHIZU_FEATURE_KINDS.lakes.join(" "), CHIZU_FEATURE_KINDS.rivers.join(" "));
// lake reservoir river
lake reservoir river

What it prints (run when this page was built)

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