Reference · Load maps and features
FEATURE_MAPSconstant
The ids of every map that has named features of its own: the world, and each country alone or by its regions whose canvas holds a sea, a lake, a river, a landform or a peak big enough to see.
Import it
import { FEATURE_MAPS } from "@johnmorrisdotca/chizu/load";
Definition
const FEATURE_MAPS: readonly string[] = Object.keys(FEATURE_LOADERS)
Examples
import { FEATURE_MAPS } from "@johnmorrisdotca/chizu/load";
console.log(FEATURE_MAPS.includes("world"), FEATURE_MAPS.includes("divisions-jp"), FEATURE_MAPS.includes("country-jp"));
// true true truetrue true trueWhat it prints (run when this page was built)