リファレンス
行政区画の情報
import { … } from "@johnmorrisdotca/kuni/subdivision-facts";
最小化と gzip 圧縮をしたサイズは 160.6 kB(読み込むものをすべて含み、esbuild で計測)
リファレンスの説明と例は英語です。見出しと目次は日本語です。
エクスポート
| 名前 | 種類 | 概要 |
|---|---|---|
LatLon | 型 | A point on the earth, in degrees: north and east are positive. |
loadSubdivisionFacts | 関数 | The facts about one country's subdivisions, every level, in code order: one object for each subdivision, with null for anything Wikidata does not give or gives two ways (docs/subdivision-facts.md counts them). |
SubdivisionFacts | 型 | The facts about one subdivision, from the /subdivision-facts entry: null where Wikidata has none, or gives two. |
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。