From e13ea3ddf7d4926f7366c627e2ecc59b581c024d Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Wed, 2 Jun 2021 21:14:23 +0200 Subject: [PATCH] toggle for distance circles --- html/script.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/html/script.js b/html/script.js index c81eb2b..2da72f7 100644 --- a/html/script.js +++ b/html/script.js @@ -934,6 +934,18 @@ function initPage() { } }); + new Toggle({ + key: "SiteCircles", + display: "Distance Circles", + container: "#settingsRight", + init: SiteCircles, + setState: function(state) { + SiteCircles = state; + if (loadFinished) + initSitePos(); + } + }); + new Toggle({ key: "ColoredPlanes", display: "Colored Planes",