mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
render: setBase's settled is stated for overlapping calls: whether, when the call resolves, its base is still the one drawn and has settled; an earlier call resolving while a later style loads, or after it fails, is settled, and one resolving after a later call changed the base is not
This commit is contained in:
1 parent
74e4ebcf65
commit
dbe026b109
5 files changed
+58
-7
No files matched your search
@@ -299,8 +299,9 @@ export function createCesiumGlobe(
|
||||
return {
|
||||
photoreal: photorealStatus,
|
||||
imagery: layers,
|
||||
// A base a later call replaced has not settled; one whose later call
|
||||
// failed is still drawn.
|
||||
// Settled when its base is still the one drawn: a later call changes
|
||||
// the base only once its style loads, and one whose style fails never
|
||||
// does (see the contract's setBase).
|
||||
settled: gen === drawnGen && !disposed && isSettled('base'),
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user