From d14b6993890ff2c63241aba9492bf93a2908add5 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Tue, 16 Jan 2024 04:14:55 +0100 Subject: [PATCH] SpecialViz: Remove obsolete layer parameter from Minimap --- src/UI/Popup/MinimapViz.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/UI/Popup/MinimapViz.ts b/src/UI/Popup/MinimapViz.ts index fc0a1a61f2..444d0d49ab 100644 --- a/src/UI/Popup/MinimapViz.ts +++ b/src/UI/Popup/MinimapViz.ts @@ -33,9 +33,8 @@ export class MinimapViz implements SpecialVisualization { tagSource: UIEventSource>, args: string[], feature: Feature, - layer: LayerConfig ) { - if (state === undefined || feature === undefined || layer.source === undefined) { + if (state === undefined || feature === undefined) { return undefined } const keys = [...args]