Starting to implement GPX visualization.

This commit is contained in:
vdv committed 2022-11-15 20:19:14 +01:00
1 parent cd9ee67fed
commit d86d63ca61
8 files changed
+123 -10

No files matched your search

+14 -2
View File
@@ -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];