feat(globe): bring the Navara engine up to the shell contract

- camera.livePosition: one engine-owned Cartesian3, refreshed on read
  (the model replaces its state on every move); camera.height()
- render.request(reason) takes the diagnostic reason and ignores it
- maps.current() returns the sources as passed: the base imagery on the
  globe (none while tiles replace it) and the tiles shown
- maps.releasePhotorealTiles forgets a source and takes its tiles away
  if they show
- base imagery and photoreal share one switch order; tiles off brings
  back the last base imagery with its credit; imagery chosen while
  tiles show waits hidden, credit included
- Navara QA runs the contract's maps checks with a Google 3D tiles
  source on the dev server's browser key: 58/58
This commit is contained in:
German Khokhlov committed 2026-10-15 19:08:47 +04:00
1 parent a4ac0b9b0d
commit 840e34a881
5 files changed
+130 -10

No files matched your search

@@ -115,6 +115,8 @@ test('render requests are forceUpdate and continuous mode is Navara animation',
const { engine, view } = setup();
engine.render.request();
assert.deepEqual(view.calls.at(-1), ['forceUpdate']);
engine.render.request('world-overlay');
assert.deepEqual(view.calls.at(-1), ['forceUpdate'], 'the reason is ignored');
engine.render.setContinuous(true);
assert.equal(view.animation, true);
assert.equal(engine.render.isContinuous(), true);