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 · Load maps and features

FEATURE_MAPSconstant

The ids of every map that has named features of its own: the world, and each country alone or by its regions whose canvas holds a sea, a lake, a river, a landform or a peak big enough to see.

Import it

import { FEATURE_MAPS } from "@johnmorrisdotca/chizu/load";

Definition

const FEATURE_MAPS: readonly string[] = Object.keys(FEATURE_LOADERS)

Examples

import { FEATURE_MAPS } from "@johnmorrisdotca/chizu/load";

console.log(FEATURE_MAPS.includes("world"), FEATURE_MAPS.includes("divisions-jp"), FEATURE_MAPS.includes("country-jp"));
// true true true
true true true

What it prints (run when this page was built)

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