CountryNamesStats型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
What the country names did: whether country-names is set and the most it asks for, the countries loaded, the names shown at the last draw, how many times the layer was laid out, and
whether the outlines could not be loaded.
インポート
import type { CountryNamesStats } from "@johnmorrisdotca/chikyu-earth/realistic";
定義
interface CountryNamesStats {
on: boolean;
max: number;
countries: number;
names: number;
renders: number;
failed: boolean;
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
on | boolean | |
max | number | |
countries | number | |
names | number | |
renders | number | |
failed | boolean |
例
import type { CountryNamesStats } from "@johnmorrisdotca/chikyu-earth/realistic";
const none: CountryNamesStats = { on: false, max: 0, countries: 0, names: 0, renders: 0, failed: false };
console.log(none);この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。