Repository navigation
feat(BitmapLayer): add tile loading placeholders - #10359
charlieforward9 wants to merge 2 commits into
Conversation
41a8aff to
f145fe8
Compare
|
Why are the paths not always visible on the globe? Is it a gap of tiles where no tiles are being requested, or are they there but covered by something? In other words, is the grey we're seeing on the globe the back side or the front side? Another approach to consider: Could this effect be implemented with an always-present grid layer that's just rendered underneath a tile layer? It's less clever, but also easier to reason about |
I'm with @chrisgervang on this, it seems like an simpler way to achieve the same thing. The fact that there is a "caveat" which that adds a random blank grey frame doesn't smell good to me. I would say try to implement the result you want without modifying |
|
Closing in favor of the direction @chrisgervang and @felixpalmer suggested (an always-present grid/background layer under the tiles) and #10306, which keeps coverage on screen during loads by ordering placeholder and prefetch requests. If loading placeholders are still needed after #10306 lands, I'll open a smaller PR along those lines. |
Background
Tiles show nothing while they load. This adds opt-in placeholders, closer to Google Maps' loading behavior.
Screen.Recording.2026-06-09.at.7.17.07.PM.mov
Change List
TileLayer.renderPlaceholderfor selected tiles with no loaded contentrefinementStrategy: 'no-overlap'prefers placeholders over cached ancestors or children. Default refinement is unchangedrenderPlaceholderthrough tiledTerrainLayerFollow-up: remove the intermediate frame between the placeholder and the final bitmap. Verified with lint and the TileLayer/TerrainLayer node tests.