summaryrefslogtreecommitdiff
path: root/include/mbgl/map
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-03-29 16:07:10 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-03-30 13:53:31 -0700
commit7b5a1ca1670a0346cdbf2af689fabde4e70ed561 (patch)
treee54adf89ea46490833223de9fd05a9a15996a57c /include/mbgl/map
parent7c036fb61882604c91b0873c2e8a9f34e9daed5e (diff)
downloadqtlocation-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/mbgl/map')
-rw-r--r--include/mbgl/map/map.hpp1
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