fix(map): bound overview feature payloads
GeoIntel release gates / Compile, test, contracts and builds (push) Canceled after 0s
GeoIntel release gates / Python and npm vulnerability policy (push) Canceled after 0s
GeoIntel release gates / GIS image, SBOM and container scan (push) Canceled after 0s

This commit is contained in:
Codex
2026-07-21 23:03:58 +02:00
parent 20ec8ad6b2
commit db96404218
5 changed files with 24 additions and 4 deletions
@@ -45,6 +45,7 @@ import {
selectionAnalysisScale,
selectionAreaSquareMetres,
selectionDimensions,
selectionFeatureLimit,
selectionMetricLabel,
splitSelectionBbox,
} from './mapWorkspaceUtils'
@@ -1830,12 +1831,14 @@ export function MapWorkspace({
}
}
const availableThemes: Array<MapThemeQuery<DataThemeId>> = []
const resultFeatureLimit = selectionFeatureLimit(bbox)
for (const theme of DATA_THEMES) {
const dataset = themeDatasetMap[theme.id]
if (dataset && persistedDatasetSupportsSelection(dataset, bbox)) {
availableThemes.push({
themeId: theme.id,
dataset,
featureLimit: resultFeatureLimit,
partitioned: regionalScopeSelected
&& (isPartitionedRaster(dataset) || isPartitionedBathymetry(dataset)),
})
@@ -1852,6 +1855,7 @@ export function MapWorkspace({
displayName: onDemandProduct.displayName,
},
acquisitionBboxes: onDemandProduct.acquisitionBboxes,
featureLimit: resultFeatureLimit,
})
}
continue