From 2d66da972457a4482ac60995f6f0082e3f27e336 Mon Sep 17 00:00:00 2001 From: BujarMuharemi <bujar.muharemi.28@gmail.com> Date: Tue, 18 Jan 2022 19:22:10 +0100 Subject: [PATCH] removed solarPlanner --- public/js/globe.js | 2 +- public/main.html | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/public/js/globe.js b/public/js/globe.js index 1c7db6f..b18775e 100644 --- a/public/js/globe.js +++ b/public/js/globe.js @@ -454,7 +454,7 @@ viewer.screenSpaceEventHandler.setInputAction(function onLeftClick(movement) { /** * @deprecated roofview is not used anymore, maybe later for "color all surface, depending on one attribute" */ - else if (document.getElementById("roofView").checked){ + else if (document.getElementById("roofView").checked && roofViewActivated){ console.log(pickedhigh,highlightedFeatures,tileContent); resetRoofColors(); diff --git a/public/main.html b/public/main.html index 3be891f..554f8ec 100644 --- a/public/main.html +++ b/public/main.html @@ -251,9 +251,9 @@ <div class="lang" key="surfaceview">Surface-View</div> <label class="drinkcard-cc surface" for="surface"></label> - <input id="solarPlanner" type="radio" name="credit-card" value="solarPlanner"> + <!-- <input id="solarPlanner" type="radio" name="credit-card" value="solarPlanner"> <div class="lang" key="solarPlannerView">Solar-Planner</div> - <label class="drinkcard-cc surface" for="solarPlanner"></label> + <label class="drinkcard-cc surface" for="solarPlanner"></label> --> <!-- deprecated: Used for roof-view <input id="roof" type="radio" name="credit-card" value="roof"> @@ -272,7 +272,6 @@ </div> <div class="dropp-body"> - <label for="specificYield">Specific Yield <input id="specificYield" type="radio" key="specificYield" name="specificYield" value="specificYield" onclick="chosenAttributeHandler(this);"> </label> -- GitLab