and again without using the wrong index: load center of map first when data is old.
This commit is contained in:
@@ -304,8 +304,11 @@ function fetchData(options) {
|
||||
let indexes = globeIndexes();
|
||||
const ancient = (currentTime - 2 * refreshInt() / globeSimLoad * globeTilesViewCount) / 1000;
|
||||
for (let i in indexes) {
|
||||
if (globeIndexNow[i] < ancient)
|
||||
globeIndexNow[i] = null;
|
||||
const k = indexes[i];
|
||||
if (globeIndexNow[k] < ancient) {
|
||||
globeIndexNow[k] = null;
|
||||
console.log(k);
|
||||
}
|
||||
}
|
||||
indexes.sort(function(x,y) {
|
||||
if (!globeIndexNow[x] && !globeIndexNow[y]) {
|
||||
|
||||
Reference in New Issue
Block a user