CHART_LAYERS定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The layers a published chart draws: the Milky Way, the figures' lines, the constellation boundaries, the names, the deep-sky objects, the black holes, the ecliptic (the Sun's yearly path, dashed) and the grid.
インポート
import { CHART_LAYERS } from "@johnmorrisdotca/hoshi-stars/chart";
定義
const CHART_LAYERS: readonly ["milky", "lines", "boundaries", "names", "deep", "holes", "ecliptic", "grid"] = ["milky", "lines", "boundaries", "names", "deep", "holes", "ecliptic", "grid"] as const satisfies readonly Layer[]
例
import { CHART_LAYERS } from "@johnmorrisdotca/hoshi-stars/chart";
console.log(CHART_LAYERS.join(" "));
// milky lines boundaries names deep holes ecliptic gridmilky lines boundaries names deep holes ecliptic grid出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。