Skip to the content

Hoshi Stars星

The stars you can see without a telescope, with names, colours and distances; the 88 constellations with their lines and boundaries; the Messier objects; and seven map projections to draw them on.

Hoshi is the Japanese word 星 for a star. About the name

Contents

Reference · The data door: hand the package your own stars or objects as a source with its own licence and credit, and see whose data is on the screen

Ucac4Optionstype

What ucac4Source takes.

Import it

import type { Ucac4Options } from "@johnmorrisdotca/hoshi-stars/door";

Definition

interface Ucac4Options {
    baseUrl?: string;
    fetch?: TileFetch;
}

Members

NameTypeDescription
baseUrl (optional)string | undefined

The folder the tiles are in, with a closing slash: FAINT_TILES_URL where left out.

fetch (optional)TileFetch | undefined

The fetch to use: the global one where left out.

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)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/hoshi-stars 0.47.0.