fix custom basemap tile URL update

This commit is contained in:
vcoppe
2024-08-14 09:21:55 +02:00
parent 069a598429
commit 22e9c76a5b
3 changed files with 14 additions and 4 deletions

View File

@@ -1,4 +1,5 @@
import type { LayerTreeType } from "$lib/assets/layers";
import { writable } from "svelte/store";
export function anySelectedLayer(node: LayerTreeType) {
return Object.keys(node).find((id) => {
@@ -36,4 +37,6 @@ export function isSelected(node: LayerTreeType, id: string) {
}
return false;
});
}
}
export const customBasemapUpdate = writable(0);