Weather imagery and shells say what they show

An imagery spec and a raster shell take an optional `shows`, such as
'clouds' or 'radar'. Drawing never depends on it; a renderer may use it
to tell such a layer apart. The weather layer sets it for every product,
'clouds' for both cloud products.
This commit is contained in:
Sameh Khamis committed 2026-11-19 19:45:20 -08:00
1 parent fe3182d664
commit edd51d58fd
6 files changed
+22 -1

No files matched your search

+1
View File
@@ -1006,6 +1006,7 @@ test('global infrared is acquired before staging and cropped from one processed
assert.equal(provider.spec.kind, 'canvas');
assert.equal(provider.spec.maxLevel, 3);
assert.equal(provider.spec.tileSize, 256);
assert.equal(provider.spec.shows, 'clouds');
assert.equal(provider.spec.tiling, 'geographic');
assert.deepEqual(provider.spec.rectangle, snapshot.bounds);
const first = await provider.requestImage(0, 0, 0);