mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
Add depth-classified earthquakes on Navara
Match native ground footprints, encoded alpha and source ordering on real terrain and photoreal tiles while excluding forward meshes. Cache static screen data and reduce large-disc edge work without changing GPU pixels. Add deterministic lifecycle, source/share, foreground/horizon and three-context performance proof; restore credits for available Navara feeds and retain failure history in migration evidence.
This commit is contained in:
1 parent
c89185f352
commit
a3152ab719
14 files changed
+1106
-16
No files matched your search
@@ -131,11 +131,11 @@ test('the Navara scene builds the engine on the app container and no viewer', as
|
||||
assert.equal(run.loads[0].search, '?engine=navara&look=photoreal');
|
||||
assert.ok(run.scene.operations.searchAndFlyTo);
|
||||
assert.equal(globalThis.window.__GOOGLE_MAPS_API_KEY__, 'google-test');
|
||||
// Data layers are off: only the credits of what the shell itself uses
|
||||
// (place search, its OSM data, keyless terrain) go to the engine's credits.
|
||||
// Match the native static attribution policy for available data layers,
|
||||
// even before a layer is enabled.
|
||||
assert.deepEqual(
|
||||
run.engine.fake.credits.map(({ html }) => html),
|
||||
['Search credit', 'OSM credit', 'Terrain credit'],
|
||||
['Flights credit', 'Search credit', 'OSM credit', 'Terrain credit'],
|
||||
);
|
||||
});
|
||||
|
||||
@@ -171,3 +171,26 @@ test('the Navara scene tears down the controller, then the globe', async (t) =>
|
||||
assert.equal(isRenderGovernorInstalled(run.engine), false);
|
||||
assert.equal(view.__GOOGLE_MAPS_API_KEY__, undefined);
|
||||
});
|
||||
|
||||
test('Navara keeps attribution for every available W1/W2 source and excludes unavailable data', async (t) => {
|
||||
const keys = [
|
||||
'opensky',
|
||||
'adsblol',
|
||||
'adsbdb',
|
||||
'aisstream',
|
||||
'celestrak',
|
||||
'launch-library-2',
|
||||
'usgs',
|
||||
'photon-geocoder',
|
||||
'openstreetmap',
|
||||
'reearth-terrain',
|
||||
];
|
||||
const run = await startScene({
|
||||
credits: [...keys, 'firms'].map((key) => ({ key, html: `Credit ${key}` })),
|
||||
});
|
||||
t.after(run.teardown);
|
||||
assert.deepEqual(
|
||||
run.engine.fake.credits.map(({ html }) => html),
|
||||
keys.map((key) => `Credit ${key}`),
|
||||
);
|
||||
});
|
||||
Reference in new issue
Block a user