Creating a <AllGpxes> component.

This commit is contained in:
vdv committed 2022-11-27 14:32:21 +01:00
1 parent d0bc9422f3
commit 346b9a1186
5 files changed
+43 -1

No files matched your search

+4
View File
@@ -186,6 +186,10 @@ export const pruneAndSaveImportedGpx = async (params: any) => {
}
};
export const getAllGpxes = async () => {
return await getDocsByType('gpx');
};
export const getGpxesForViewport = async (params: any) => {
const { viewport, zoomLevel } = params;
const zoomedViewport: Rectangle = {