Starting to implement GPX visualization.
This commit is contained in:
1 parent
cd9ee67fed
commit
d86d63ca61
8 files changed
+123
-10
No files matched your search
@@ -1,10 +1,22 @@
|
||||
import { initDb } from '../db';
|
||||
import { putNewGpx, existsGpx, pruneAndSaveImportedGpx } from '../db/gpx';
|
||||
import {
|
||||
putNewGpx,
|
||||
existsGpx,
|
||||
pruneAndSaveImportedGpx,
|
||||
getGpxesForViewport,
|
||||
} from '../db/gpx';
|
||||
import { putNewTrk } from '../db/trk';
|
||||
|
||||
const self = globalThis as unknown as SharedWorkerGlobalScope;
|
||||
|
||||
const actions = { initDb, putNewGpx, putNewTrk, existsGpx, pruneAndSaveImportedGpx };
|
||||
const actions = {
|
||||
initDb,
|
||||
putNewGpx,
|
||||
putNewTrk,
|
||||
existsGpx,
|
||||
pruneAndSaveImportedGpx,
|
||||
getGpxesForViewport,
|
||||
};
|
||||
|
||||
self.onconnect = function (e) {
|
||||
var port = e.ports[0];
|
||||
|
||||
Reference in new issue
Block a user