feat: operationalize Flemish land and nature themes
This commit is contained in:
@@ -777,6 +777,11 @@ export function MapWorkspace({
|
||||
result[product.key] = null
|
||||
}
|
||||
}
|
||||
if (flandersScopeSelected && officialMapProducts.officialVector.length > 0) {
|
||||
for (const product of officialMapProducts.officialVector) {
|
||||
result[product.theme] = null
|
||||
}
|
||||
}
|
||||
return result
|
||||
}, [
|
||||
availableMapDatasets,
|
||||
@@ -785,6 +790,7 @@ export function MapWorkspace({
|
||||
officialMapProducts.dhmv.length,
|
||||
officialMapProducts.floodHazard.length,
|
||||
officialMapProducts.grb,
|
||||
officialMapProducts.officialVector,
|
||||
regionalScopeSelected,
|
||||
selectedDhmvProductKey,
|
||||
selectedFloodHazardDatasetId,
|
||||
@@ -835,6 +841,17 @@ export function MapWorkspace({
|
||||
limitationMessage: product.limitation_message,
|
||||
})
|
||||
}
|
||||
for (const product of officialMapProducts.officialVector) {
|
||||
result.set(product.theme, {
|
||||
kind: 'official_vector',
|
||||
productKey: product.key,
|
||||
displayName: product.display_name,
|
||||
theme: product.theme,
|
||||
availabilityLabel: `${product.observation_label} · officiële vectorbron · laad bij selectie`,
|
||||
attribution: product.attribution,
|
||||
limitationMessage: product.limitation_message,
|
||||
})
|
||||
}
|
||||
const dhmvProduct = officialMapProducts.dhmv.find((product) => product.key === selectedDhmvProductKey)
|
||||
if (dhmvProduct) {
|
||||
result.set('elevation', {
|
||||
|
||||
Reference in New Issue
Block a user