Ucac4Optionstype
What ucac4Source takes.
Import it
import type { Ucac4Options } from "@johnmorrisdotca/hoshi-stars/door";
Definition
interface Ucac4Options {
baseUrl?: string;
fetch?: TileFetch;
}
Members
| Name | Type | Description |
|---|---|---|
baseUrl (optional) | string | undefined | The folder the tiles are in, with a closing slash: |
fetch (optional) | TileFetch | undefined | The |
Examples
import type { Ucac4Options } from "@johnmorrisdotca/hoshi-stars/door";
const options: Ucac4Options = { baseUrl: "/faint-tiles/" };
console.log(options.baseUrl);/faint-tiles/What it prints (run when this page was built)