SEA_FEATURES定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The oceans, seas, gulfs, bays and continents that can be named, each with the point its name is set at.
インポート
import { SEA_FEATURES } from "@johnmorrisdotca/chikyu-earth/realistic";
定義
const SEA_FEATURES: readonly SeaFeature[]
例
import { SEA_FEATURES } from "@johnmorrisdotca/chikyu-earth/realistic";
console.log(SEA_FEATURES.find((one) => one.id === "africa")?.name.en);Africa出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。