file specific routing controls layers

This commit is contained in:
vcoppe
2026-04-07 22:15:17 +02:00
parent 694e73a677
commit 71cdc03da5

View File

@@ -85,7 +85,7 @@ export class RoutingControls {
this.file = file;
for (let zoom = MIN_ANCHOR_ZOOM; zoom <= MAX_ANCHOR_ZOOM; zoom++) {
this.layers.set(zoom, {
id: `routing-controls-${zoom}`,
id: `routing-controls-${this.fileId}-${zoom}`,
anchors: [],
});
}