fix: keep bounded thematic coverage scoped
This commit is contained in:
@@ -772,6 +772,11 @@ export function MapWorkspace({
|
||||
&& datasetCoversSelectedArea(dataset, selectedMapAreaId, regionalScopeSelected),
|
||||
) ?? null
|
||||
}
|
||||
if (flandersScopeSelected && officialMapProducts.thematic.length > 0) {
|
||||
for (const product of officialMapProducts.thematic) {
|
||||
result[product.theme] = null
|
||||
}
|
||||
}
|
||||
if (flandersScopeSelected && officialMapProducts.grb.length > 0) {
|
||||
for (const product of officialMapProducts.grb) {
|
||||
result[product.key] = null
|
||||
@@ -791,6 +796,7 @@ export function MapWorkspace({
|
||||
officialMapProducts.floodHazard.length,
|
||||
officialMapProducts.grb,
|
||||
officialMapProducts.officialVector,
|
||||
officialMapProducts.thematic,
|
||||
regionalScopeSelected,
|
||||
selectedDhmvProductKey,
|
||||
selectedFloodHazardDatasetId,
|
||||
|
||||
Reference in New Issue
Block a user