mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-18 09:12:18 +00:00
refactor(earthquakes): extract native renderer with identical ground-disc output
Keep refresh, cancellation and label policy engine-neutral; inject the original native entities at composition. Prove static geometry, analyst records, owner disposal and last-good refresh behavior. Native dev and QA-preview pass 18 checks each; all eight baseline PNGs remain byte-identical.
This commit is contained in:
1 parent
e8870a4766
commit
c89185f352
13 files changed
+343
-92
No files matched your search
@@ -1,3 +1,4 @@
|
||||
import { createEarthquakesCesiumRenderer } from './render/cesium.js';
|
||||
import assert from 'node:assert/strict';
|
||||
import test from 'node:test';
|
||||
import { createEarthquakesLayer } from './index.js';
|
||||
@@ -17,6 +18,9 @@ function harness(source) {
|
||||
};
|
||||
const layer = createEarthquakesLayer({
|
||||
source,
|
||||
renderer: {
|
||||
create: ({ viewer }) => createEarthquakesCesiumRenderer(null, { viewer }),
|
||||
},
|
||||
overlayHost: {
|
||||
setEntries(...args) {
|
||||
events.push(args);
|
||||
|
||||
Reference in new issue
Block a user