mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-11-30 09:34:29 +00:00
more national imagery
This commit is contained in:
1 parent
9372df1c61
commit
3ac084be65
5 files changed
+60
-1
No files matched your search
@@ -82,6 +82,27 @@ describe('planTile', () => {
|
||||
parts: ['BE:partial', 'NL:partial'],
|
||||
fallback: false,
|
||||
});
|
||||
// Elvas and Badajoz, on the border of Portugal and Spain
|
||||
assert.deepEqual(await plan([13, 3935, 3135], tiles), {
|
||||
parts: ['ES:partial', 'PT:partial'],
|
||||
fallback: false,
|
||||
});
|
||||
});
|
||||
|
||||
it('takes a country from its agency next to one without open imagery', async () => {
|
||||
const { tiles } = savedTiles();
|
||||
// Padborg, with Germany to the south
|
||||
assert.deepEqual(await plan([13, 4309, 2597], tiles), {
|
||||
parts: ['DK:partial'],
|
||||
fallback: true,
|
||||
});
|
||||
});
|
||||
|
||||
it('leaves the islands of Portugal to the fallback', async () => {
|
||||
const { asked, tiles } = savedTiles();
|
||||
// Funchal, on Madeira
|
||||
assert.deepEqual(await plan(tile(-16.91, 32.65, 15), tiles), { parts: [], fallback: true });
|
||||
assert.deepEqual(asked, []);
|
||||
});
|
||||
|
||||
it('asks for a tile of the countries once for all the tiles of imagery inside it', async () => {
|
||||
|
||||
Reference in new issue
Block a user