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

The world map

import { … } from "@johnmorrisdotca/chizu/world";

59.8 kB minified and gzipped, with everything it imports (measured with esbuild)

The world as one map, every country a region (Natural Earth, 1:110m, Miller's projection centred on 155°E, which keeps Japan and the whole Pacific in the middle and cuts the map in the Atlantic). Its own entry, so the 170 kB of outlines load only on the page that draws them. A page loading a country's own map by name wants /load instead.

Exports

NameKindWhat it is
defaultconstantThe world, every country a region, on one canvas 1000 wide that wraps round.
WORLDconstantThe world, every country a region, on one canvas 1000 wide that wraps round.

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