Skip to the content

Chizu地図

Draw SVG maps of the world, its 253 countries and the regions of 33 of them, frame them, place numbered callouts and build geography quizzes, with names in English and Japanese today (Spanish, German and Chinese are planned).

Chizu is the Japanese word 地図 for map. About the name

Contents

Reference · /world-geo-detail

defaultconstant

The world as longitude and latitude in degrees from the 1:50m outlines, for a globe zoomed in: 242 countries, the 177 of the 1:110m world-geo with the same properties and the 65 smaller ones that file leaves off, simplified with the borders between countries kept identical.

Import it

import value from "@johnmorrisdotca/chizu/world-geo-detail";

Definition

const worldGeoDetail: ChizuGeoCollection

Examples

import WORLD_GEO_DETAIL from "@johnmorrisdotca/chizu/world-geo-detail";

const japan = WORLD_GEO_DETAIL.features.find((feature) => feature.properties.code === "JP")!;
console.log(WORLD_GEO_DETAIL.features.length, japan.properties.iso3, japan.properties.nameJa);
// 242 JPN 日本
242 JPN 日本

What it prints (run when this page was built)

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