Skip to content
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

Revise the fix when raster-fade-duration is 0 #2501

Merged
merged 13 commits into from
May 17, 2023

Conversation

zhangyiatmicrosoft
Copy link
Contributor

@zhangyiatmicrosoft zhangyiatmicrosoft commented May 10, 2023

Launch Checklist

  • Initialized fadeEndTime with 0 so all everything else afterwards is easier to read and interpret and remove test case for undefined.

  • Applied most changes discussed in issue PR 2455 and fadeEndTime #2480 and tested manually with samples there.

  • Updated render test case "raster-masking\overlapping-zoom":
    -- This test case is quite complicated in that it loads at 14, zoom to 15 and then zoom to 13, whereas only 1 tile is available for each zoom. The result is not easy to understand so I added debug line to help. expected.png content is otherwise the same as before and expected_ubuntu22 had old baseline and faulty, also updated.
    Result is counter-intuitive because at that spot zoom13 has no tile, and zoom14 is displayed. This is verified by directly rendering zoom 13 to begin with without any fade duration and zoom operations.

  • Confirm your changes do not include backports from Mapbox projects (unless with compliant license) - if you are not sure about this, please ask!

  • Briefly describe the changes in this PR.

  • Link to related issues.

  • Add an entry to CHANGELOG.md under the ## main section.

@birkskyum birkskyum mentioned this pull request May 11, 2023
9 tasks
@HarelM
Copy link
Member

HarelM commented May 12, 2023

Ping me when you want this reviewed as currently it is in draft. Looks good otherwise.

@zhangyiatmicrosoft zhangyiatmicrosoft changed the title Fade duration Revise the fix for fadeDuration May 16, 2023
@zhangyiatmicrosoft zhangyiatmicrosoft changed the title Revise the fix for fadeDuration Revise the fix when raster-fade-duration is 0 May 17, 2023
@zhangyiatmicrosoft zhangyiatmicrosoft marked this pull request as ready for review May 17, 2023 19:36
@zhangyiatmicrosoft
Copy link
Contributor Author

@ibesora @HarelM @pramilk ready to go. Thanks

@HarelM HarelM merged commit 34b0707 into maplibre:main May 17, 2023
13 checks passed
@zhangyiatmicrosoft zhangyiatmicrosoft deleted the fade-duration branch November 14, 2023 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants