mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
Change icon set billboards in place instead of rebuilding the collection
An icon set's upsert, set, remove and an atlas registered again now restyle, move, re-image, add and remove billboards in the collection the set already has, so markers no longer blink as every image reloads on each change. A changed image swaps on its own billboard; the old one keeps drawing until the new one has loaded. The set is still built anew where changing it in place would not draw the same: when new icons would land ahead of drawn ones, when a set reorders its items, when a key's generated image comes as a new canvas, when the set is emptied, and when its collection would hold many more images than it draws (a collection keeps every image it has loaded). Adds the draw.icons.update conformance check.
This commit is contained in:
1 parent
3d320035b6
commit
1aa280b43f
5 files changed
+464
-41
No files matched your search
@@ -36,6 +36,7 @@ export const CESIUM_CHECKS = new Set([
|
||||
'draw.atlas',
|
||||
'draw.clampState',
|
||||
'draw.drillPick',
|
||||
'draw.icons.update',
|
||||
'draw.ids',
|
||||
'draw.models',
|
||||
'draw.pick',
|
||||
|
||||
Reference in new issue
Block a user