diff --git a/public/js/globe.js b/public/js/globe.js index 1c7db6f51e06653a10c31c5b6d16f7369c4f01fd..b18775e7ee1871b16c970a149692e324b506f094 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 3be891f1ac531bcc898c0916c6f7d2b4daa2ab4e..554f8ec52425dcfdb26ce5774484a0d9525c947d 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>