mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-05 01:42:54 +00:00
hide file
This commit is contained in:
@@ -255,6 +255,19 @@ export function exportFile(file: GPXFile) {
|
||||
URL.revokeObjectURL(url);
|
||||
}
|
||||
|
||||
export function toggleSelectionVisibility() {
|
||||
let files = new Set<string>();
|
||||
get(selection).forEach((item) => {
|
||||
files.add(item.getFileId());
|
||||
});
|
||||
files.forEach((fileId) => {
|
||||
let layer = gpxLayers.get(fileId);
|
||||
if (layer) {
|
||||
layer.toggleVisibility();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
let stravaCookies: any = null;
|
||||
function refreshStravaCookies() {
|
||||
/*
|
||||
|
Reference in New Issue
Block a user