リファレンス
/runways
import { … } from "@johnmorrisdotca/chizu/runways";
最小化と gzip 圧縮をしたサイズは 18.9 kB(読み込むものをすべて含み、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.
エクスポート
| 名前 | 種類 | 概要 |
|---|---|---|
ChizuRunway | 型 | 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 | 型 | The runways of many airports, by the airport's id. |
RUNWAYS | 定数 | 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 | 定数 | The credit line for the runways, in English and Japanese, to show where the runways are shown. |
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。