mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
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:
1 parent
8ae56587c3
commit
c84cfcadeb
9 files changed
+148
-12
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user