Reference · Framing, geometry and quiz tools
ChizuFeatureGrouptype
The six groups the features come in, in the order they are drawn: from Natural Earth's physical files, marine
(oceans, seas, bays, straits), under the land, landforms (deserts, ranges, plains), drawn only when chosen,
lakes, rivers and peaks; and from kuni 国, capitals (a country's capital, its regions' seats).
Import it
import type { ChizuFeatureGroup } from "@johnmorrisdotca/chizu";
Definition
type ChizuFeatureGroup = "marine" | "landforms" | "lakes" | "rivers" | "peaks" | "capitals";
Examples
import { CHIZU_FEATURE_GROUPS, type ChizuFeatureGroup } from "@johnmorrisdotca/chizu";
const first: ChizuFeatureGroup = CHIZU_FEATURE_GROUPS[0];
console.log(first, CHIZU_FEATURE_GROUPS.length);
// marine 6marine 6What it prints (run when this page was built)