mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-04-09 13:20:22 +00:00
file specific routing controls layers
This commit is contained in:
@@ -85,7 +85,7 @@ export class RoutingControls {
|
|||||||
this.file = file;
|
this.file = file;
|
||||||
for (let zoom = MIN_ANCHOR_ZOOM; zoom <= MAX_ANCHOR_ZOOM; zoom++) {
|
for (let zoom = MIN_ANCHOR_ZOOM; zoom <= MAX_ANCHOR_ZOOM; zoom++) {
|
||||||
this.layers.set(zoom, {
|
this.layers.set(zoom, {
|
||||||
id: `routing-controls-${zoom}`,
|
id: `routing-controls-${this.fileId}-${zoom}`,
|
||||||
anchors: [],
|
anchors: [],
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user