diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-03-29 16:07:10 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-03-30 13:53:31 -0700 |
commit | 7b5a1ca1670a0346cdbf2af689fabde4e70ed561 (patch) | |
tree | e54adf89ea46490833223de9fd05a9a15996a57c /include | |
parent | 7c036fb61882604c91b0873c2e8a9f34e9daed5e (diff) | |
download | qtlocation-mapboxgl-7b5a1ca1670a0346cdbf2af689fabde4e70ed561.tar.gz |
[core] Localize and simplify state for MapChangeDidFinishLoadingMap event
Only Map needs to track this state, and it can simply be set when beginning to load a style and reset when finished.
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/map/map.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp index 463bee7938..3b8cea83a8 100644 --- a/include/mbgl/map/map.hpp +++ b/include/mbgl/map/map.hpp @@ -205,6 +205,7 @@ private: }; RenderState renderState = RenderState::never; + bool loading = false; }; } // namespace mbgl |