mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-21 18:52:18 +00:00
Hide the Navara globe under photoreal tiles and keep credits on screen
Under Google 3D tiles Navara hid only the base imagery and kept drawing the terrain globe, which showed through the tiles wherever the terrain mesh lies above them (grey patches over the Nepal mountains). As on Cesium, the globe now stops drawing under the tiles while terrain sampling continues, and the tileset is kept across map switches instead of being fetched again. Sea Marks and Ski Pistes drew as native globe rasters and would vanish with it; they now go through engine.imagery, which drapes onto the tiles on both engines, and the native overlay path is gone. Navara opened its attribution card to keep on-screen credits visible, covering the scene; it now shows them in a persistent strip like Cesium's, with the card behind its button.
This commit is contained in:
1 parent
14b2adb7af
commit
8a00049b85
15 files changed
+979
-192
No files matched your search
@@ -65,11 +65,11 @@ test('destroy removes every credit; a view without attribution UI is a no-op', (
|
||||
remove();
|
||||
});
|
||||
|
||||
test('onScreen credits open the attribution list on screen; others do not', () => {
|
||||
test('static credits never force the attribution card open', () => {
|
||||
const attribution = fakeAttribution();
|
||||
const { credits } = createNavaraCredits({ attribution });
|
||||
credits.addStatic('Quiet');
|
||||
assert.equal(attribution.opened, 0);
|
||||
credits.addStatic('Loud', { onScreen: true });
|
||||
assert.equal(attribution.opened, 1);
|
||||
assert.equal(attribution.opened, 0);
|
||||
});
|
||||
Reference in new issue
Block a user