hopefully reduce map update times

This commit is contained in:
Matthias Wirth
2020-01-14 11:08:10 +01:00
parent 51cd2fe2f9
commit ec8dd892f2
2 changed files with 8 additions and 7 deletions

View File

@@ -63,6 +63,7 @@ var globeIndexGrid = 0;
var globeIndexNow = {};
var globeIndexSpecialTiles;
var globeSimLoad = 4;
var globeTableLimit = 100;
var lastRealExtent;
var lastGlobeExtent;
var lastRenderExtent;
@@ -1856,7 +1857,7 @@ function refreshTableInfo() {
tableplane.showInTable = true;
}
if (!sidebarVisible || (nTablePlanes > 100 && mapIsVisible)) {
if (!sidebarVisible || (nTablePlanes > globeTableLimit && mapIsVisible)) {
tableplane.showInTable = false;
continue;
}