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_STRINGSconstant

Native English and Japanese map controls, descriptions and physical-feature labels.

Import it

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

Definition

const CHIZU_STRINGS: Record<ChizuLanguage, Record<string, string>>

Members

NameTypeDescription
enRecord<string, string>
jaRecord<string, string>

Examples

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

console.log(Object.keys(CHIZU_STRINGS).join(" "), CHIZU_STRINGS.en.zoomIn, CHIZU_STRINGS.ja.zoomIn);
// en ja Zoom in 拡大
en ja Zoom in 拡大

What it prints (run when this page was built)

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