wip: POC arrival times

This commit is contained in:
2026-07-06 23:27:32 +02:00
parent 23c1186689
commit 34c12135ca
4 changed files with 62 additions and 4 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ export const useMresoStore = defineStore("mresoStore", {
return Object.fromEntries(state.routes.map((r) => [r.id, r]));
},
linesById(state): { [id: string]: Feature<MultiLineString> } {
if (!state.lines) {
if (!("features" in state.lines)) {
return {};
}
return Object.fromEntries(
@@ -35,7 +35,7 @@ export const useMresoStore = defineStore("mresoStore", {
);
},
clustersById(state): { [id: string]: Feature<Point> } {
if (!state.clusters) {
if (!("features" in state.clusters)) {
return {};
}
return Object.fromEntries(