don't fetch aircraft in heatmap mode

This commit is contained in:
Matthias Wirth
2020-05-17 11:11:20 +02:00
parent 4b8b1af927
commit a32fb05084

View File

@@ -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];