From 46a298cc20a24947b373850ba7300d22e5092a62 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Mon, 4 Mar 2024 13:41:32 +0100 Subject: [PATCH] Refactoring: some cleanup --- src/UI/Map/ShowDataLayer.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/UI/Map/ShowDataLayer.ts b/src/UI/Map/ShowDataLayer.ts index 295d1fac1..255df6676 100644 --- a/src/UI/Map/ShowDataLayer.ts +++ b/src/UI/Map/ShowDataLayer.ts @@ -276,7 +276,6 @@ class LineRenderingLayer { }, } const filter = img.if?.asMapboxExpression() - console.log(">>>", this._layername, imgId, img.if, "-->", filter) if (filter) { spec.filter = filter } @@ -552,14 +551,13 @@ export default class ShowDataLayer { } private initDrawFeatures(map: MlMap) { - let { features, doShowLayer, fetchStore, selectedElement, selectedLayer } = this._options + let { features, doShowLayer, fetchStore, selectedElement } = this._options const onClick = this._options.onClick ?? (this._options.layer.title === undefined ? undefined : (feature: Feature) => { selectedElement?.setData(feature) - selectedLayer?.setData(this._options.layer) }) if (this._options.drawLines !== false) { for (let i = 0; i < this._options.layer.lineRendering.length; i++) {