only center map on files on page load and on file import, closes #36

This commit is contained in:
vcoppe
2024-08-05 17:43:27 +02:00
parent 87e75f967f
commit f8dea2a7f1
2 changed files with 9 additions and 3 deletions

View File

@@ -195,6 +195,8 @@ export async function loadFiles(list: FileList | File[]) {
}
}
initTargetMapBounds(list.length);
dbUtils.addMultiple(files);
selectFileWhenLoaded(files[0]._data.id);