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

/runways

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

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

The runways of the airports in @johnmorrisdotca/chizu/airports (@johnmorrisdotca/chizu/runways), its own entry so that a page that draws none never loads it: about 50 kB as data. Each open runway with both ends measured, from OurAirports (the Unlicense). Hand it to drawChizu's runways, beside ports.

Exports

NameKindWhat it is
ChizuRunwaytypeOne runway: the longitude and latitude of its two ends, in degrees, and its width in metres (0 where the source gives none, drawn as a hairline).
ChizuRunwaystypeThe runways of many airports, by the airport's id.
RUNWAYSconstantThe open runways of the airports that have them, by the airport's id: each is [lon1, lat1, lon2, lat2, widthMetres], the ends measured to five places of a degree (about a metre).
RUNWAYS_CREDITconstantThe credit line for the runways, in English and Japanese, to show where the runways are shown.

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