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
| Name | Kind | What it is |
|---|---|---|
ChizuRunway | type | One 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). |
ChizuRunways | type | The runways of many airports, by the airport's id. |
RUNWAYS | constant | The 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_CREDIT | constant | The credit line for the runways, in English and Japanese, to show where the runways are shown. |