-
-
Notifications
You must be signed in to change notification settings - Fork 862
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only create placeholder tiles where tiles are missing or not fully tr…
…ansitioned at the current zoom This reduces the number of placeholder widgets. The algorithm used to determine which coordinates to show placeholders for is a tradeoff between speed and the number of redundant placeholders created. It creates a placeholder for every tile at the current zoom which failed to load or is still transitioning. This means that if a tile from a lower zoom obscures the placeholder or multiple tiles from a higher zoom collectively obscure the placeholder it will be unnecessarily created. It would be possible to avoid this but it would require a more complex data structure or iterating all of the tiles for every potential placeholder.
- Loading branch information
1 parent
08cb80d
commit d5a6cb7
Showing
5 changed files
with
79 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters