diff --git a/src/UI/Popup/MinimapViz.ts b/src/UI/Popup/MinimapViz.ts index fc0a1a61f..444d0d49a 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]