summaryrefslogtreecommitdiff
path: root/include/mbgl/map
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-04-29 17:49:25 +0200
committerKonstantin Käfer <mail@kkaefer.com>2015-05-05 11:47:23 +0200
commit691c305467c5d503719743e69f73bf28f20894d5 (patch)
tree8bd519a94982db4fe3a54a7fa224b7b5327fc2c2 /include/mbgl/map
parent248e48eaccb942789a43b6372491a2fc9fd162eb (diff)
downloadqtlocation-mapboxgl-691c305467c5d503719743e69f73bf28f20894d5.tar.gz
add Map::isFullyLoaded()
returns whether the Map is still loading/parsing any assets or whether everything is there and a render will likely be complete
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 5dc463f24f..bdb384b24e 100644
--- a/include/mbgl/map/map.hpp
+++ b/include/mbgl/map/map.hpp
@@ -132,6 +132,7 @@ public:
void setDebug(bool value);
void toggleDebug();
bool getDebug() const;
+ bool isFullyLoaded() const;
private:
const std::unique_ptr<MapData> data;