Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

[core] Update time point in map context on every update - #4462

Merged
brunoabinader merged 2 commits into
masterfrom
brunoabinader-fix-android-fullyloaded-notification
Mar 24, 2016
Merged

brunoabinader merged 2 commits into
masterfrom
brunoabinader-fix-android-fullyloaded-notification

Conversation

@brunoabinader

Copy link
Copy Markdown
Contributor

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.

Fixes #4439.

/cc @tobrun @jfirebaugh

@tobrun

tobrun commented Mar 24, 2016

Copy link
Copy Markdown
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
brunoabinader force-pushed the brunoabinader-fix-android-fullyloaded-notification branch from 5978446 to 3afdfc1 Compare March 24, 2016 20:03

// This time point is used to:
// - Calculate style property transitions;
// - Hint style sources to notify when all its tiles are loaded;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where does this happen?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would be easier to look when we add some utests to check the different notifications from View at some point.

@brunoabinader
brunoabinader merged commit 3afdfc1 into master Mar 24, 2016
@jfirebaugh
jfirebaugh deleted the brunoabinader-fix-android-fullyloaded-notification branch March 24, 2016 21:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants