Displaying trksegs through geojson.

This commit is contained in:
vdv committed 2022-11-27 17:12:25 +01:00
1 parent ab7374f360
commit 37fd31a040
4 files changed
+41 -10

No files matched your search

+1 -1
View File
@@ -40,7 +40,7 @@ export const getTrkseg = async (params: any) => {
//level 1
if (row.doc.type === 'trkpt') {
target.splice(1);
appendToArray(target.at(-1), row.doc.type, row.doc._id);
appendToArray(target.at(-1), row.doc.type, row.doc.doc);
target.push(row.doc.doc);
}
});