From 06fefaa9629b002a7fe127dcfa2d08c958240789 Mon Sep 17 00:00:00 2001 From: PrettyHeatToast Date: Sat, 2 Mar 2024 20:32:53 +0100 Subject: [PATCH] Update interactievekaart.html --- interactievekaart.html | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/interactievekaart.html b/interactievekaart.html index bcfdf8a..f61c2de 100644 --- a/interactievekaart.html +++ b/interactievekaart.html @@ -24,17 +24,11 @@ markerVisible[marker.id] = false; console.log(markerVisible); }); - } - }); - AFRAME.registerComponent('loop', - { - tick: function (time, deltaTime) { - if (markerVisible[gemeentesMap]) + if (markerVisible[gemeentesMap]) document.querySelector("#plane1").setAttribute("scale", "2 2 2"); - } - }); - + } + });