optimize plane feature updating when zooming out

This commit is contained in:
Matthias Wirth
2020-01-09 18:00:26 +01:00
parent b4b1d4e4a6
commit 9eca1b3bf2
2 changed files with 2 additions and 5 deletions

View File

@@ -1796,7 +1796,7 @@ function refreshTableInfo() {
if (globeIndex) {
if (inView(tableplane, lastRenderExtent) || tableplane.selected) {
tableplane.updateFeatures(now, last);
} else {
} else if (tableplane.visible) {
tableplane.clearMarker();
tableplane.clearLines();
tableplane.visible = false;