Skip to content

DatasetView

github-actions[bot] edited this page Sep 23, 2026 · 2 revisions

Type Alias: DatasetView

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

DatasetView = ViewInput

Where the camera opens on a load. It carries the fields of StartView and one more, fit, which frames the set the load wrote. A field the entry names beside fit wins over what fit worked out.

A camera inside the bounds of the new set keeps its place. A loadDataset that is not the start load leaves the view alone when all four of these hold:

  1. the entry names bounds;
  2. those bounds resolve to a restricted space, and the new set holds a system;
  3. the view names fit: 'systems' and no other field;
  4. the cursor is inside those bounds and the distance is at or under their far zoom limit.

The rule does not read the frame of the new set, so a camera zoomed in on one system keeps its place. A camera the user did not move is held on the same terms.

A catalog of one region therefore keeps the angle and the zoom the user set up. A host that wants every load to frame its set names a field beside fit, such as the pitch the camera holds, or drops bounds from the entry.

The fields are those of ViewInput, which the start view option reads as well. The name stays, because hosts write it.

Clone this wiki locally