diff --git a/src/UI/Map/ShowDataLayer.ts b/src/UI/Map/ShowDataLayer.ts index 5c7cee6f2c..4ea472d1c3 100644 --- a/src/UI/Map/ShowDataLayer.ts +++ b/src/UI/Map/ShowDataLayer.ts @@ -152,6 +152,12 @@ class PointRenderingLayer { } const el = html.ConstructElement() + store.addCallbackAndRunD(tags => { + if(tags._deleted === "yes"){ + html.SetClass("grayscale") + } + }) + if (this._onClick) { const self = this el.addEventListener("click", function (ev) {