Creating a <AllGpxes> component.
This commit is contained in:
1 parent
d0bc9422f3
commit
346b9a1186
5 files changed
+43
-1
No files matched your search
@@ -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 = {
|
||||
|
||||
Reference in new issue
Block a user