Skip to content

Commit

Permalink
Don't include _placementDirty in loaded()
Browse files Browse the repository at this point in the history
loaded() is an indication of data completeness, not rendering quiescence. Transitory effects (transitions, cross-fading, collision fading) are not included by design.
  • Loading branch information
jfirebaugh committed Dec 4, 2017
1 parent d19a064 commit 752e28e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -1420,7 +1420,7 @@ class Map extends Camera {
* @returns {boolean} A Boolean indicating whether the map is fully loaded.
*/
loaded() {
if (this._styleDirty || this._sourcesDirty || this._placementDirty)
if (this._styleDirty || this._sourcesDirty)
return false;
if (!this.style || !this.style.loaded())
return false;
Expand Down

0 comments on commit 752e28e

Please sign in to comment.