BorderShapes型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
A set of shapes whose shared edges are the borders: a GeoJSON FeatureCollection in longitude and latitude, such as chizu's world-geo (the countries) or a country's regions.
インポート
import type { BorderShapes } from "@johnmorrisdotca/chikyu-earth/realistic";
定義
interface BorderShapes {
features: readonly BorderFeature[];
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
features | readonly BorderFeature[] |
例
import type { BorderShapes } from "@johnmorrisdotca/chikyu-earth/realistic";
const none: BorderShapes = { features: [] };
console.log(none.features.length);0出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。