Skip to content

BrowseBounds

github-actions[bot] edited this page Sep 21, 2026 · 1 revision

Type Alias: BrowseBounds

Imported from @elite-dangerous-almanac/galaxy-map.

BrowseBounds = { mode: "unrestricted"; } | { marginLy?: number; mode: "auto"; } | { centre: readonly [number, number, number]; mode: "sphere"; radiusLy: number; }

How much of the space a host lets the user browse. The map clamps both the cursor and the far zoom limit to it. getBounds reads this back as the host gave it, and not the shape the map works out from it.

Union Members

Type Literal

{ mode: "unrestricted"; }

The whole model. The cursor holds to the model bounds and the far limit is 120,000.


Type Literal

{ marginLy?: number; mode: "auto"; }

The box that holds every system of the set, grown by marginLy on every axis.


Type Literal

{ centre: readonly [number, number, number]; mode: "sphere"; radiusLy: number; }

A ball in game coordinates.

Clone this wiki locally