summaryrefslogtreecommitdiff
path: root/src/mbgl/style/source_impl.hpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-08-27 14:43:28 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-09-06 12:52:14 -0700
commit5b4f6335e384169bcd88633e38d59a500319a47b (patch)
tree0c4f98790ab6d2814b2db26f6fa72454213c6551 /src/mbgl/style/source_impl.hpp
parent21dc12ee93e890325c61daa0e4183dd1e795f0a9 (diff)
downloadqtlocation-mapboxgl-5b4f6335e384169bcd88633e38d59a500319a47b.tar.gz
[core] Add Source::Impl::reload
Diffstat (limited to 'src/mbgl/style/source_impl.hpp')
-rw-r--r--src/mbgl/style/source_impl.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mbgl/style/source_impl.hpp b/src/mbgl/style/source_impl.hpp
index 61baccfcb7..93add4ad13 100644
--- a/src/mbgl/style/source_impl.hpp
+++ b/src/mbgl/style/source_impl.hpp
@@ -50,6 +50,10 @@ public:
void loadTiles(const UpdateParameters&);
bool parseTiles(const UpdateParameters&);
+ // Request that all loaded tiles re-run the layout operation on the existing source
+ // data with fresh style information.
+ void reload();
+
void startRender(algorithm::ClipIDGenerator&,
const mat4& projMatrix,
const TransformState&);