You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TilesRenderer: Add configurable delay to downloads #1423
This can be done by just adding something like a "wait" before actually triggering a download. This will provide the opportunity to cancel loads if they are no longer needed or the camera is moving quickly (see #1422). This potentially causes extra delays, though, if a tile is in the queue and then removed and then added again in cases where it may have just been unused for one frame. Can this be made more resilient?
The delay should be on-the-fly update-able such that it retroactively applies to all queued tiles. Adding something like a "DelayedQueue" to trigger callbacks after a certain time period may be best. A single "setTimeout" handle can be kept allowing for an easily update-able delay.
Activity
gkjohnson commentedon Dec 27, 2025
The delay should be on-the-fly update-able such that it retroactively applies to all queued tiles. Adding something like a "DelayedQueue" to trigger callbacks after a certain time period may be best. A single "setTimeout" handle can be kept allowing for an easily update-able delay.
gkjohnson commentedon Dec 29, 2025
Some other strategies: