リファレンス · データの入口(自分で用意した星やディープスカイ天体を、ライセンスと出典つきのソースとして渡し、いま画面にあるのは誰のデータかを示します)
Ucac4Options型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
What ucac4Source takes.
インポート
import type { Ucac4Options } from "@johnmorrisdotca/hoshi-stars/door";
定義
interface Ucac4Options {
baseUrl?: string;
fetch?: TileFetch;
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
baseUrl (省略可) | string | undefined | The folder the tiles are in, with a closing slash: |
fetch (省略可) | TileFetch | undefined | The |
例
import type { Ucac4Options } from "@johnmorrisdotca/hoshi-stars/door";
const options: Ucac4Options = { baseUrl: "/faint-tiles/" };
console.log(options.baseUrl);/faint-tiles/出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。