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).
インポート
import { RUNWAYS } from "@johnmorrisdotca/chizu/runways";
定義
const RUNWAYS: Readonly<Record<string, readonly ChizuRunway[]>> = data
例
import { RUNWAYS } from "@johnmorrisdotca/chizu/runways";
console.log(RUNWAYS.hnd?.length, RUNWAYS.hnd?.[0]?.length);
// 4 54 5出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。