feat: make Mol explorer map-first
This commit is contained in:
@@ -21,6 +21,9 @@ export function useMapSelectionExtract({
|
||||
|
||||
useEffect(() => {
|
||||
setMapSelectionBbox(null)
|
||||
}, [selectedProjectId])
|
||||
|
||||
useEffect(() => {
|
||||
setMapSelectionResult(null)
|
||||
setMapSelectionError(null)
|
||||
}, [selectedProjectId, selectedDataset?.id])
|
||||
@@ -41,7 +44,7 @@ export function useMapSelectionExtract({
|
||||
try {
|
||||
const response = await datasetsApi.selectVectorFeatures(selectedProjectId, selectedDataset.id, {
|
||||
bbox: { ...bbox, crs: 'EPSG:4326' },
|
||||
limit: 250,
|
||||
limit: 1000,
|
||||
})
|
||||
setMapSelectionResult(response)
|
||||
return response
|
||||
|
||||
Reference in New Issue
Block a user