fix(satellites): class choices survive a reload and travel in share links

Only catalog and the tracked satellite were saved for the layer, so a class
chip lasted until the next reload and no share link carried it. The choice
is now the satellites option `classes`: one letter per class shown
(`sitpd` by default, `0` for none), with Starlink left to `catalog`, and
the layer takes the letters back through setParams. A partial request
(`{debris: false}`) hides only what it names.
This commit is contained in:
Sameh Khamis committed 2026-11-08 15:16:01 -08:00
1 parent 8ae56587c3
commit c84cfcadeb
9 files changed
+148 -12

No files matched your search

+5 -1
View File
@@ -273,7 +273,11 @@ export const SHARE_VIEW_LAYER_OPTION_ABSENT = Object.freeze({
selectedFlightsTrackingId: null,
selectedMilitaryTrackingId: null,
}),
satellites: Object.freeze({ catalog: 'core', selectedSatTrackingId: null }),
satellites: Object.freeze({
catalog: 'core',
selectedSatTrackingId: null,
classes: 'sitpd',
}),
cctv: Object.freeze({
coverageMode: 'on',
showProjection: true,