Retain the Nepal locator presentation and draw it on either globe

This commit is contained in:
German Khokhlov committed 2026-11-03 03:49:39 +04:00
1 parent 605b9490f3
commit 811bcaff85
11 files changed
+409 -57

No files matched your search

+3
View File
@@ -147,6 +147,9 @@ test('data credits go through the globe engine credits', async () => {
engine.fake.credits.filter(({ html }) => html === 'D').length,
1,
);
const other = createFakeEngine();
registerDynamicCredit(other, { key: 'engine-dyn', html: 'D' });
assert.equal(other.fake.credits.filter(({ html }) => html === 'D').length, 1);
engine.fake.resetCalls();
assert.equal(showOsmCredit(engine, 'alpr', { openMapTiles: true }), true);
const inline = engine.fake.credits.filter(({ onScreen }) => onScreen);