mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-05 18:02:55 +00:00
only center map on files on page load and on file import, closes #36
This commit is contained in:
@@ -195,6 +195,8 @@ export async function loadFiles(list: FileList | File[]) {
|
||||
}
|
||||
}
|
||||
|
||||
initTargetMapBounds(list.length);
|
||||
|
||||
dbUtils.addMultiple(files);
|
||||
|
||||
selectFileWhenLoaded(files[0]._data.id);
|
||||
|
Reference in New Issue
Block a user