-
-
Notifications
You must be signed in to change notification settings - Fork 782
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix level of detail at high pitch #4741
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4741 +/- ##
==========================================
- Coverage 87.95% 86.35% -1.61%
==========================================
Files 247 247
Lines 33656 33663 +7
Branches 2165 2237 +72
==========================================
- Hits 29603 29068 -535
- Misses 3082 3517 +435
- Partials 971 1078 +107 ☔ View full report in Codecov by Sentry. |
This fixes #3983 and improves #4703 by calculating the desired zoom level for each tile independently. Each tile zoom is calculated by scaling the center point zoom by the ratio of (3D) distance-to-tile to distance-to-center. Old behavior is preserved when there is no terrain and pitch < 60 degrees. |
Thanks for taking the time to open this PR!
Let me know which works better for you. Can you also show before and after of the showtilesboundries when terrain is disabled? |
I just took a look at the |
I can carve out a new release if 4.x if this is something you absolutely need, but I would prefer to simply move this to 5.x if this is not urgent for you as it might take around 2 month to release a stable 5.x version. |
I'm happy to move this to 5.x. |
Superceded by #4750 |
This (failing) unit test demonstrates the issue reported here: #3983 and #4703