This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
[core] Update time point in map context on every update - #4462
Merged
brunoabinader merged 2 commits intoMar 24, 2016
Merged
Conversation
Member
|
Nice! |
Previous behavior prevented view from notifying when map was fully loaded, because the style sources relies on a future time point for checking if their tiles are updated. This was first caught only in still mode, but also happens in continuous mode for platforms that rely on View::notifyMapChange for updating the view.
brunoabinader
force-pushed
the
brunoabinader-fix-android-fullyloaded-notification
branch
from
March 24, 2016 20:03
5978446 to
3afdfc1
Compare
|
|
||
| // This time point is used to: | ||
| // - Calculate style property transitions; | ||
| // - Hint style sources to notify when all its tiles are loaded; |
Contributor
There was a problem hiding this comment.
Where does this happen?
Contributor
Author
There was a problem hiding this comment.
Contributor
Author
There was a problem hiding this comment.
This would be easier to look when we add some utests to check the different notifications from View at some point.
jfirebaugh
deleted the
brunoabinader-fix-android-fullyloaded-notification
branch
March 24, 2016 21:54
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Previous behavior prevented view from notifying when map was fully loaded, because the style sources relies on a future time point for checking if their tiles are updated. This was first caught only in still mode, but also happens in continuous mode for platforms that rely on
View::notifyMapChangefor updating the view.Fixes #4439.
/cc @tobrun @jfirebaugh