MapLayertype
What a map source draws: day and night are the Earth's pictures, which the realistic Earth lays tiles over; clouds and water are the door's for the whole-Earth layers they are, which the package does not tile or draw yet.
Import it
import type { MapLayer } from "@johnmorrisdotca/chikyu-earth/door";
Definition
type MapLayer = "day" | "night" | "clouds" | "water";
Examples
import type { MapLayer } from "@johnmorrisdotca/chikyu-earth/door";
const layers: MapLayer[] = ["day", "night", "clouds", "water"];
console.log(layers.join(", "));day, night, clouds, waterWhat it prints (run when this page was built)