Reference · The realistic Earth's pure parts
CountryNamesStatstype
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 it
import type { CountryNamesStats } from "@johnmorrisdotca/chikyu-earth/realistic";
Definition
interface CountryNamesStats {
on: boolean;
max: number;
countries: number;
names: number;
renders: number;
failed: boolean;
}
Members
| Name | Type | Description |
|---|---|---|
on | boolean | |
max | number | |
countries | number | |
names | number | |
renders | number | |
failed | boolean |
Examples
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);