DIVISIONS_GEO_CODES定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
Every map of a country's regions as longitude and latitude, by code: the country's for the 33 countries that have
one, and VN-2025 and GB-2025 for Vietnam's and the United Kingdom's of 2025, as in DIVISIONS_CODES.
インポート
import { DIVISIONS_GEO_CODES } from "@johnmorrisdotca/chizu/divisions-geo";
定義
const DIVISIONS_GEO_CODES: readonly string[] = Object.keys(DIVISIONS_GEO_LOADERS).map((code) => code.toUpperCase())
例
import { DIVISIONS_GEO_CODES } from "@johnmorrisdotca/chizu/divisions-geo";
console.log(DIVISIONS_GEO_CODES.length, DIVISIONS_GEO_CODES.includes("JP"));
// 35 true35 true出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。