From a32fb05084bc27ba0f5cc083db0cfb228a85cf81 Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Sun, 17 May 2020 11:11:20 +0200 Subject: [PATCH] don't fetch aircraft in heatmap mode --- html/script.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/html/script.js b/html/script.js index fa23efa..b32dd14 100644 --- a/html/script.js +++ b/html/script.js @@ -309,6 +309,8 @@ function processReceiverUpdate(data, init) { } function fetchData() { + if (heatmap) + return; ZoomLvl = OLMap.getView().getZoom(); let center = ol.proj.toLonLat(OLMap.getView().getCenter()); localStorage['CenterLon'] = CenterLon = center[0];